Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CompMod / System / ComponentModel / InvalidAsynchronousStateException.cs / 1 / InvalidAsynchronousStateException.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using Microsoft.Win32; using System; using System.Diagnostics; using System.Globalization; using System.Runtime.Serialization; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [Serializable] public class InvalidAsynchronousStateException : ArgumentException { ///The exception that is thrown when a thread that an operation should execute on no longer exists or is not pumping messages ////// public InvalidAsynchronousStateException() : this(null) { } ///Initializes a new instance of the ///class without a message. /// public InvalidAsynchronousStateException(string message) : base(message) { } ///Initializes a new instance of the ///class with /// the specified message. /// Initializes a new instance of the Exception class with a specified error message and a /// reference to the inner exception that is the cause of this exception. /// public InvalidAsynchronousStateException(string message, Exception innerException ) : base(message, innerException) { } ////// Need this constructor since Exception implements ISerializable. We don't have any fields, /// so just forward this to base. /// protected InvalidAsynchronousStateException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using Microsoft.Win32; using System; using System.Diagnostics; using System.Globalization; using System.Runtime.Serialization; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [Serializable] public class InvalidAsynchronousStateException : ArgumentException { ///The exception that is thrown when a thread that an operation should execute on no longer exists or is not pumping messages ////// public InvalidAsynchronousStateException() : this(null) { } ///Initializes a new instance of the ///class without a message. /// public InvalidAsynchronousStateException(string message) : base(message) { } ///Initializes a new instance of the ///class with /// the specified message. /// Initializes a new instance of the Exception class with a specified error message and a /// reference to the inner exception that is the cause of this exception. /// public InvalidAsynchronousStateException(string message, Exception innerException ) : base(message, innerException) { } ////// Need this constructor since Exception implements ISerializable. We don't have any fields, /// so just forward this to base. /// protected InvalidAsynchronousStateException(SerializationInfo info, StreamingContext context) : base(info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegistryDataKey.cs
- BindingCompleteEventArgs.cs
- OSFeature.cs
- HtmlTableRowCollection.cs
- CheckBoxStandardAdapter.cs
- TableLayoutStyle.cs
- DescendantOverDescendantQuery.cs
- AppendHelper.cs
- ScrollProperties.cs
- XmlAnyElementAttributes.cs
- ClassData.cs
- SamlAuthorizationDecisionStatement.cs
- WeakRefEnumerator.cs
- CopyNamespacesAction.cs
- Assembly.cs
- EntityTypeBase.cs
- ToolbarAUtomationPeer.cs
- XPathDocumentBuilder.cs
- SecurityDocument.cs
- SQLInt32Storage.cs
- DataObject.cs
- WebServiceTypeData.cs
- DropSource.cs
- FormViewDeletedEventArgs.cs
- GridViewEditEventArgs.cs
- ProfileInfo.cs
- WebBrowser.cs
- XmlnsDictionary.cs
- KeyedQueue.cs
- DesignerAdapterAttribute.cs
- SafeHandles.cs
- FontCacheUtil.cs
- ProcessManager.cs
- CngKeyCreationParameters.cs
- SafeProcessHandle.cs
- CollectionChangedEventManager.cs
- AttachedPropertyMethodSelector.cs
- MarginsConverter.cs
- EditorPart.cs
- WmiEventSink.cs
- Vector3D.cs
- DataSourceControl.cs
- SHA512.cs
- FileSystemInfo.cs
- ObjectHandle.cs
- ServiceCredentialsSecurityTokenManager.cs
- InvokeProviderWrapper.cs
- BaseWebProxyFinder.cs
- RectConverter.cs
- ValueConversionAttribute.cs
- Control.cs
- EventBookmark.cs
- DescendantBaseQuery.cs
- SettingsSection.cs
- DeferredReference.cs
- ObjectListDesigner.cs
- fixedPageContentExtractor.cs
- IntegerValidator.cs
- TextEffectCollection.cs
- OleAutBinder.cs
- RepeaterCommandEventArgs.cs
- WizardPanel.cs
- CompilationLock.cs
- ConstructorNeedsTagAttribute.cs
- TrackingMemoryStream.cs
- PageCatalogPart.cs
- XMLSchema.cs
- RepeaterItemCollection.cs
- HttpModulesSection.cs
- ClusterRegistryConfigurationProvider.cs
- NavigationProperty.cs
- GridToolTip.cs
- AggregatePushdown.cs
- DataColumn.cs
- InteropAutomationProvider.cs
- File.cs
- NullableConverter.cs
- DesignTimeParseData.cs
- MediaSystem.cs
- XmlSchemaProviderAttribute.cs
- HuffModule.cs
- WindowsMenu.cs
- DbProviderFactories.cs
- AttributedMetaModel.cs
- AnyReturnReader.cs
- RPIdentityRequirement.cs
- MessageDecoder.cs
- ColumnResult.cs
- Boolean.cs
- CursorConverter.cs
- ObjectStateEntry.cs
- UriTemplateClientFormatter.cs
- InstanceView.cs
- SystemFonts.cs
- AttributeQuery.cs
- SuppressMergeCheckAttribute.cs
- PopupEventArgs.cs
- ConfigurationSectionGroupCollection.cs
- EventLogTraceListener.cs
- ChangePassword.cs