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
- EmptyControlCollection.cs
- NavigateUrlConverter.cs
- DataObject.cs
- Soap.cs
- DiscardableAttribute.cs
- TextOnlyOutput.cs
- MultiViewDesigner.cs
- Base64Encoder.cs
- BaseValidatorDesigner.cs
- InputChannelBinder.cs
- MailWebEventProvider.cs
- DisplayInformation.cs
- TextRangeSerialization.cs
- AutomationEventArgs.cs
- UpdateManifestForBrowserApplication.cs
- TypeBuilder.cs
- ServiceErrorHandler.cs
- WebPartDescriptionCollection.cs
- TemplateComponentConnector.cs
- HyperLinkField.cs
- NullableIntAverageAggregationOperator.cs
- Membership.cs
- SerializerWriterEventHandlers.cs
- TabPanel.cs
- ShaperBuffers.cs
- DispatcherExceptionFilterEventArgs.cs
- DataSysAttribute.cs
- ListenerChannelContext.cs
- CatalogPartChrome.cs
- DesignerDataView.cs
- Int32Rect.cs
- CapabilitiesUse.cs
- BitHelper.cs
- BamlBinaryWriter.cs
- ConfigUtil.cs
- DashStyle.cs
- UrlAuthorizationModule.cs
- StagingAreaInputItem.cs
- ValueTable.cs
- DrawingAttributes.cs
- MobileControlPersister.cs
- Control.cs
- CrossContextChannel.cs
- RegistryKey.cs
- XmlSchemaAttribute.cs
- ZipIOCentralDirectoryBlock.cs
- HttpClientCertificate.cs
- WorkItem.cs
- RecordManager.cs
- Constants.cs
- InputLanguageSource.cs
- WebPartConnectionsEventArgs.cs
- XmlSerializationWriter.cs
- ThrowHelper.cs
- WebSysDefaultValueAttribute.cs
- TypeSystem.cs
- IISMapPath.cs
- IntSecurity.cs
- SynchronizedPool.cs
- SmiMetaDataProperty.cs
- MultilineStringConverter.cs
- DbProviderFactoriesConfigurationHandler.cs
- InkSerializer.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- ParseElement.cs
- HtmlWindowCollection.cs
- XmlHierarchicalEnumerable.cs
- InvalidFilterCriteriaException.cs
- ServerReliableChannelBinder.cs
- DragEventArgs.cs
- OpenTypeLayout.cs
- TransactionManager.cs
- CloudCollection.cs
- ExpressionBuilder.cs
- SoapFault.cs
- ClientSideProviderDescription.cs
- UnitySerializationHolder.cs
- ConnectionPoint.cs
- HeaderPanel.cs
- CodeObjectCreateExpression.cs
- FixedSOMPageConstructor.cs
- StretchValidation.cs
- Lock.cs
- MarkupExtensionSerializer.cs
- FlowLayoutSettings.cs
- PropertyChangingEventArgs.cs
- OverflowException.cs
- CodeAttributeDeclaration.cs
- DataBoundControlAdapter.cs
- ProxyWebPartConnectionCollection.cs
- File.cs
- HtmlValidatorAdapter.cs
- TextDecorationUnitValidation.cs
- SqlConnectionPoolGroupProviderInfo.cs
- _AutoWebProxyScriptHelper.cs
- DesigntimeLicenseContextSerializer.cs
- WindowsToolbar.cs
- EventArgs.cs
- MarkupWriter.cs
- SchemaAttDef.cs