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
- XmlUrlResolver.cs
- DataKeyPropertyAttribute.cs
- ApplicationContext.cs
- SRDisplayNameAttribute.cs
- ExtensionWindow.cs
- BufferedWebEventProvider.cs
- SimpleType.cs
- HealthMonitoringSectionHelper.cs
- SizeChangedEventArgs.cs
- WindowsFont.cs
- _NetworkingPerfCounters.cs
- InteropTrackingRecord.cs
- NTAccount.cs
- safex509handles.cs
- ProcessHostFactoryHelper.cs
- TransformationRules.cs
- XmlQueryStaticData.cs
- DBCommandBuilder.cs
- DriveNotFoundException.cs
- TypedAsyncResult.cs
- XmlDataSourceView.cs
- Listener.cs
- XmlCollation.cs
- CaseStatement.cs
- PathNode.cs
- ConfigDefinitionUpdates.cs
- ToolboxComponentsCreatedEventArgs.cs
- AssemblyAssociatedContentFileAttribute.cs
- ContextStaticAttribute.cs
- XamlInt32CollectionSerializer.cs
- GlyphRunDrawing.cs
- PiiTraceSource.cs
- DelegateSerializationHolder.cs
- ImageList.cs
- HtmlWindowCollection.cs
- HttpHandlersSection.cs
- EntityDataSourceDataSelection.cs
- JoinElimination.cs
- SuspendDesigner.cs
- DesignerVerb.cs
- HostedElements.cs
- FullTrustAssembliesSection.cs
- Number.cs
- PixelFormat.cs
- SpecialFolderEnumConverter.cs
- SoapObjectReader.cs
- SplitterCancelEvent.cs
- XPathExpr.cs
- ServicePointManagerElement.cs
- DbConvert.cs
- BinaryMessageFormatter.cs
- HtmlToClrEventProxy.cs
- TransformConverter.cs
- SortableBindingList.cs
- FigureParaClient.cs
- CodeAttachEventStatement.cs
- FilteredAttributeCollection.cs
- SystemIPGlobalProperties.cs
- ClrPerspective.cs
- AuthenticationModulesSection.cs
- Button.cs
- DataMisalignedException.cs
- Rules.cs
- EncryptedData.cs
- RotationValidation.cs
- SmiGettersStream.cs
- EventBuilder.cs
- Span.cs
- MimeMapping.cs
- WebServiceHost.cs
- WebPartAddingEventArgs.cs
- SapiRecognizer.cs
- AnimationClock.cs
- MarkupCompilePass1.cs
- BamlWriter.cs
- FtpCachePolicyElement.cs
- DependencyObjectType.cs
- ReferencedCollectionType.cs
- KeySplineConverter.cs
- COM2ExtendedBrowsingHandler.cs
- RadialGradientBrush.cs
- ArraySortHelper.cs
- SubclassTypeValidatorAttribute.cs
- FormViewDeleteEventArgs.cs
- MSAAEventDispatcher.cs
- PathParser.cs
- IntegrationExceptionEventArgs.cs
- AutomationTextAttribute.cs
- _emptywebproxy.cs
- TextTabProperties.cs
- AuthenticationConfig.cs
- HwndSourceKeyboardInputSite.cs
- SamlSecurityTokenAuthenticator.cs
- recordstate.cs
- SerializationTrace.cs
- PrinterResolution.cs
- Collection.cs
- XmlSerializationReader.cs
- XmlSerializerSection.cs
- OdbcRowUpdatingEvent.cs