Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- HttpProtocolReflector.cs
- ReadOnlyKeyedCollection.cs
- LinkLabelLinkClickedEvent.cs
- DiagnosticTraceSource.cs
- DataGridViewColumnHeaderCell.cs
- PiiTraceSource.cs
- WebPartConnectionsEventArgs.cs
- __TransparentProxy.cs
- RegexGroupCollection.cs
- coordinatorscratchpad.cs
- ScriptReference.cs
- ToolboxItemCollection.cs
- PublisherMembershipCondition.cs
- GroupStyle.cs
- SortAction.cs
- ReferenceAssemblyAttribute.cs
- WebPartMovingEventArgs.cs
- OleDbException.cs
- PropertyBuilder.cs
- BufferBuilder.cs
- MessageDescription.cs
- Soap.cs
- DoubleLinkListEnumerator.cs
- GridViewColumnHeader.cs
- FontDriver.cs
- _NtlmClient.cs
- GeneralTransform3DGroup.cs
- ObsoleteAttribute.cs
- HtmlElementCollection.cs
- DriveInfo.cs
- RemotingSurrogateSelector.cs
- EntityModelBuildProvider.cs
- SettingsSavedEventArgs.cs
- TypeValidationEventArgs.cs
- RelationshipEndCollection.cs
- OrderingQueryOperator.cs
- TypeInformation.cs
- Root.cs
- ColorMap.cs
- NotSupportedException.cs
- XmlCompatibilityReader.cs
- ComponentResourceManager.cs
- TextTreeText.cs
- ToolBarTray.cs
- ElementNotAvailableException.cs
- ValueTypeFixupInfo.cs
- XdrBuilder.cs
- ExpanderAutomationPeer.cs
- SiteMapProvider.cs
- ListViewSortEventArgs.cs
- HttpRequestWrapper.cs
- DataServiceKeyAttribute.cs
- UrlMappingsSection.cs
- ConfigurationValues.cs
- CharUnicodeInfo.cs
- SkewTransform.cs
- SHA1Managed.cs
- TreeBuilderBamlTranslator.cs
- UnauthorizedWebPart.cs
- InkSerializer.cs
- BindUriHelper.cs
- MultiDataTrigger.cs
- DataGridPagingPage.cs
- MenuItemBinding.cs
- CapabilitiesPattern.cs
- Property.cs
- WebPart.cs
- ActiveXMessageFormatter.cs
- BoundPropertyEntry.cs
- AssemblyName.cs
- SplineKeyFrames.cs
- ScrollBarRenderer.cs
- DnsCache.cs
- TreeBuilder.cs
- DocumentViewer.cs
- PointConverter.cs
- KeyValuePairs.cs
- PointHitTestResult.cs
- RegexCode.cs
- XpsLiterals.cs
- MemoryPressure.cs
- DataGridSortCommandEventArgs.cs
- TrustVersion.cs
- userdatakeys.cs
- Internal.cs
- StreamGeometry.cs
- ListCollectionView.cs
- BindableTemplateBuilder.cs
- x509utils.cs
- FileDetails.cs
- XmlNavigatorFilter.cs
- DiscoveryDocument.cs
- FormsAuthenticationCredentials.cs
- ResizingMessageFilter.cs
- StyleXamlParser.cs
- IsolatedStorageFilePermission.cs
- PointAnimationUsingPath.cs
- IBuiltInEvidence.cs
- TypeSystemProvider.cs
- TrackPointCollection.cs