Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SourceElementsCollection.cs
- FilteredXmlReader.cs
- EmbeddedObject.cs
- OpacityConverter.cs
- BStrWrapper.cs
- DateTimeAutomationPeer.cs
- AuthenticationSchemesHelper.cs
- CodeTypeParameter.cs
- Material.cs
- BuildProviderUtils.cs
- TabControl.cs
- TextureBrush.cs
- ListBase.cs
- Version.cs
- TransportElement.cs
- MailWriter.cs
- DBNull.cs
- DesignBindingValueUIHandler.cs
- MimeMultiPart.cs
- ParamArrayAttribute.cs
- KnownTypes.cs
- httpserverutility.cs
- XmlSchemaSimpleTypeUnion.cs
- TextRangeEditLists.cs
- XmlAnyElementAttributes.cs
- SiteMap.cs
- PeekCompletedEventArgs.cs
- _DisconnectOverlappedAsyncResult.cs
- DataObjectEventArgs.cs
- CodeCompiler.cs
- DataSourceSelectArguments.cs
- HwndProxyElementProvider.cs
- XmlSchemaSimpleTypeUnion.cs
- CommandManager.cs
- DigitShape.cs
- ProcessThread.cs
- InputMethodStateChangeEventArgs.cs
- RowCache.cs
- Configuration.cs
- TextEditorTyping.cs
- Error.cs
- ZipIOExtraFieldZip64Element.cs
- DirectoryObjectSecurity.cs
- DocumentOrderComparer.cs
- HttpVersion.cs
- DesignerActionPropertyItem.cs
- MailAddressCollection.cs
- OdbcEnvironmentHandle.cs
- SQLDecimalStorage.cs
- DefaultSection.cs
- XmlCharCheckingWriter.cs
- BinaryExpression.cs
- WebScriptEnablingElement.cs
- ClientUrlResolverWrapper.cs
- UserValidatedEventArgs.cs
- AttachmentCollection.cs
- HostProtectionPermission.cs
- UserThread.cs
- ButtonField.cs
- WebPartConnectionsConnectVerb.cs
- CodeCommentStatementCollection.cs
- _FtpDataStream.cs
- IPEndPointCollection.cs
- XPathNodePointer.cs
- SingleSelectRootGridEntry.cs
- AppDomainManager.cs
- HashAlgorithm.cs
- BaseConfigurationRecord.cs
- TouchPoint.cs
- CounterSampleCalculator.cs
- PeerContact.cs
- HuffmanTree.cs
- PasswordTextNavigator.cs
- SoapServerProtocol.cs
- CopyAttributesAction.cs
- MsdtcClusterUtils.cs
- XomlCompilerError.cs
- FontFamilyIdentifier.cs
- XmlArrayItemAttribute.cs
- UserNamePasswordValidationMode.cs
- IssuedTokenServiceCredential.cs
- RuntimeArgumentHandle.cs
- BaseValidator.cs
- RIPEMD160Managed.cs
- HebrewNumber.cs
- ScrollBar.cs
- TraceProvider.cs
- EndpointIdentityConverter.cs
- ExpandSegmentCollection.cs
- TypeBuilder.cs
- BamlTreeNode.cs
- StylusPointPropertyUnit.cs
- FilterEventArgs.cs
- _NegoStream.cs
- TrayIconDesigner.cs
- XmlValidatingReader.cs
- XmlCompatibilityReader.cs
- DependencyObjectProvider.cs
- DrawingDrawingContext.cs
- EntityConnectionStringBuilder.cs