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
- InstanceCompleteException.cs
- ErrorLog.cs
- InkPresenterAutomationPeer.cs
- SqlErrorCollection.cs
- UrlMapping.cs
- SiteMapDataSourceView.cs
- ProgressBarBrushConverter.cs
- ProviderConnectionPoint.cs
- DataListDesigner.cs
- tabpagecollectioneditor.cs
- BitmapFrameEncode.cs
- RegexWorker.cs
- PageRanges.cs
- IdentityModelDictionary.cs
- PropertyDescriptorCollection.cs
- CachedPathData.cs
- serverconfig.cs
- StsCommunicationException.cs
- Error.cs
- NamespaceDecl.cs
- FileLoadException.cs
- RoutedPropertyChangedEventArgs.cs
- SqlAggregateChecker.cs
- ButtonField.cs
- ConfigurationPropertyAttribute.cs
- StringFreezingAttribute.cs
- CacheEntry.cs
- ToolStripComboBox.cs
- mongolianshape.cs
- Stylesheet.cs
- LinqDataSourceContextEventArgs.cs
- RenderData.cs
- SqlClientMetaDataCollectionNames.cs
- ItemAutomationPeer.cs
- LateBoundBitmapDecoder.cs
- VarRemapper.cs
- ConfigurationSectionHelper.cs
- _NetworkingPerfCounters.cs
- ThrowHelper.cs
- DefaultAuthorizationContext.cs
- GridEntry.cs
- FormsAuthenticationConfiguration.cs
- ColorTransform.cs
- TextSpanModifier.cs
- ContentDisposition.cs
- SelectedPathEditor.cs
- DataService.cs
- DesignTimeVisibleAttribute.cs
- MenuScrollingVisibilityConverter.cs
- PrinterResolution.cs
- StrongNameMembershipCondition.cs
- FixUpCollection.cs
- DataSetUtil.cs
- RequestCacheEntry.cs
- HandlerFactoryWrapper.cs
- MessageTraceRecord.cs
- TypeElementCollection.cs
- TableCell.cs
- NodeInfo.cs
- FileLogRecordEnumerator.cs
- ReachDocumentPageSerializerAsync.cs
- DataComponentGenerator.cs
- AutomationElement.cs
- XmlWrappingWriter.cs
- InstanceCreationEditor.cs
- GrammarBuilderBase.cs
- TextContainerChangedEventArgs.cs
- OwnerDrawPropertyBag.cs
- XmlObjectSerializerWriteContext.cs
- MenuItemAutomationPeer.cs
- InstanceOwnerQueryResult.cs
- MetabaseServerConfig.cs
- AnimationException.cs
- FormViewPageEventArgs.cs
- HttpHandler.cs
- CapabilitiesAssignment.cs
- CfgParser.cs
- FormCollection.cs
- CodeVariableReferenceExpression.cs
- RawStylusInputReport.cs
- TransformGroup.cs
- StyleCollection.cs
- exports.cs
- TypeConverterHelper.cs
- indexingfiltermarshaler.cs
- SafeNativeMethods.cs
- Literal.cs
- sqlstateclientmanager.cs
- WebPartCloseVerb.cs
- FontNamesConverter.cs
- PackageDigitalSignature.cs
- Visual3DCollection.cs
- ShaderEffect.cs
- StrokeNodeEnumerator.cs
- DrawTreeNodeEventArgs.cs
- FixedTextContainer.cs
- COM2ComponentEditor.cs
- DocumentSequenceHighlightLayer.cs
- JavaScriptSerializer.cs
- ResourcePart.cs