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
- RunClient.cs
- StackOverflowException.cs
- Comparer.cs
- SchemaConstraints.cs
- ButtonFieldBase.cs
- TemplateComponentConnector.cs
- TextElement.cs
- MatcherBuilder.cs
- PermissionSetEnumerator.cs
- HyperLinkDesigner.cs
- WindowsTreeView.cs
- PageContentAsyncResult.cs
- SerializationAttributes.cs
- TraceLog.cs
- BuildResultCache.cs
- Size3D.cs
- WindowsGraphics2.cs
- HtmlTable.cs
- FormViewCommandEventArgs.cs
- System.Data_BID.cs
- TreeView.cs
- JavaScriptSerializer.cs
- BasePattern.cs
- _IPv4Address.cs
- CodeIndexerExpression.cs
- ItemChangedEventArgs.cs
- OleDbDataReader.cs
- BypassElement.cs
- arc.cs
- SqlIdentifier.cs
- CodePageEncoding.cs
- ComponentResourceManager.cs
- TraceContext.cs
- GridPattern.cs
- ClientSettings.cs
- EntityDataSourceContainerNameItem.cs
- Library.cs
- AsyncOperationLifetimeManager.cs
- Vector3dCollection.cs
- ValidationVisibilityAttribute.cs
- ObjectItemConventionAssemblyLoader.cs
- MsmqReceiveHelper.cs
- PropertyFilter.cs
- ClientOperationFormatterProvider.cs
- CodeLabeledStatement.cs
- HttpAsyncResult.cs
- ASCIIEncoding.cs
- PostBackOptions.cs
- MultiBinding.cs
- DesignerUtility.cs
- XmlSchemaInclude.cs
- MenuItemStyle.cs
- MetadataItemEmitter.cs
- WinCategoryAttribute.cs
- UnsafeNativeMethods.cs
- CommandBindingCollection.cs
- MarkupExtensionParser.cs
- PrintEvent.cs
- VisualStyleTypesAndProperties.cs
- OdbcTransaction.cs
- DataGridViewAccessibleObject.cs
- DependencyObjectType.cs
- XmlCollation.cs
- StylusPointProperty.cs
- HandlerElement.cs
- DoubleCollection.cs
- ManualResetEvent.cs
- EDesignUtil.cs
- MasterPageBuildProvider.cs
- IgnoreSection.cs
- IntSecurity.cs
- RecognizerStateChangedEventArgs.cs
- ThumbAutomationPeer.cs
- GraphicsPath.cs
- BamlLocalizableResourceKey.cs
- HttpRequestWrapper.cs
- InstanceData.cs
- GenericAuthenticationEventArgs.cs
- TargetConverter.cs
- Debug.cs
- XmlWriterSettings.cs
- SmtpException.cs
- ExceptionValidationRule.cs
- AppLevelCompilationSectionCache.cs
- DecoratedNameAttribute.cs
- CodeChecksumPragma.cs
- XXXInfos.cs
- _TransmitFileOverlappedAsyncResult.cs
- MetadataAssemblyHelper.cs
- DeploymentExceptionMapper.cs
- InvalidComObjectException.cs
- DesignerRegionMouseEventArgs.cs
- DBBindings.cs
- DataException.cs
- PipeSecurity.cs
- _NestedSingleAsyncResult.cs
- SMSvcHost.cs
- Debugger.cs
- RangeValidator.cs
- DataSourceSerializationException.cs