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
- ServiceMetadataPublishingElement.cs
- ParameterReplacerVisitor.cs
- WebPartConnectionsCancelEventArgs.cs
- ToolboxComponentsCreatedEventArgs.cs
- BamlLocalizer.cs
- DbXmlEnabledProviderManifest.cs
- ObjectSpanRewriter.cs
- EncodingDataItem.cs
- IListConverters.cs
- TextDecorations.cs
- PropertyEmitterBase.cs
- UriParserTemplates.cs
- RadioButtonFlatAdapter.cs
- Binding.cs
- SplineQuaternionKeyFrame.cs
- FrameworkContentElement.cs
- WebBaseEventKeyComparer.cs
- Image.cs
- NavigationHelper.cs
- CssStyleCollection.cs
- FormattedText.cs
- Boolean.cs
- WebPartAuthorizationEventArgs.cs
- DoubleKeyFrameCollection.cs
- Size.cs
- PlainXmlSerializer.cs
- MessageSecurityProtocolFactory.cs
- IpcClientManager.cs
- ServiceThrottle.cs
- WebPart.cs
- FormatterServicesNoSerializableCheck.cs
- TableCellCollection.cs
- UnionExpr.cs
- SpnegoTokenProvider.cs
- BuilderPropertyEntry.cs
- SecurityElement.cs
- WebServiceTypeData.cs
- WeakReadOnlyCollection.cs
- AppDomain.cs
- DirectoryObjectSecurity.cs
- StateBag.cs
- HashCryptoHandle.cs
- WebPartDescription.cs
- FocusTracker.cs
- OleDbRowUpdatingEvent.cs
- SkewTransform.cs
- FontSourceCollection.cs
- Compiler.cs
- TableLayoutRowStyleCollection.cs
- ChangeBlockUndoRecord.cs
- DataBindingsDialog.cs
- DbQueryCommandTree.cs
- PageAsyncTask.cs
- ColumnBinding.cs
- MailSettingsSection.cs
- EventManager.cs
- InvalidOperationException.cs
- ColumnReorderedEventArgs.cs
- ColorContextHelper.cs
- InstancePersistence.cs
- NamedPermissionSet.cs
- XmlSerializerFormatAttribute.cs
- ServiceDiscoveryElement.cs
- TextPenaltyModule.cs
- HttpModuleCollection.cs
- StaticExtension.cs
- XmlSubtreeReader.cs
- EntityViewContainer.cs
- XmlDocumentType.cs
- RowsCopiedEventArgs.cs
- DataKey.cs
- NotImplementedException.cs
- StaticContext.cs
- StatusStrip.cs
- DataServiceBehavior.cs
- TouchEventArgs.cs
- CodeTypeParameterCollection.cs
- UIElementHelper.cs
- NumericUpDown.cs
- XmlAnyElementAttributes.cs
- DataFormat.cs
- RevocationPoint.cs
- HealthMonitoringSection.cs
- FontStretches.cs
- SelectionPattern.cs
- HttpListenerException.cs
- FormViewDeletedEventArgs.cs
- WrapperEqualityComparer.cs
- XmlSchemaImporter.cs
- DBCommandBuilder.cs
- TokenFactoryCredential.cs
- BindingCompleteEventArgs.cs
- HttpRuntime.cs
- SafeRightsManagementHandle.cs
- Clause.cs
- COM2ExtendedTypeConverter.cs
- IPAddress.cs
- BoolLiteral.cs
- SecurityElement.cs
- X509Utils.cs