Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / InvalidAsynchronousStateException.cs / 1305376 / 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
- ControlFilterExpression.cs
- ItemsChangedEventArgs.cs
- Properties.cs
- Stylesheet.cs
- OnOperation.cs
- QueryStack.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- ConfigUtil.cs
- Compensate.cs
- List.cs
- PropertyGridView.cs
- TypeDescriptionProvider.cs
- LowerCaseStringConverter.cs
- CollectionBuilder.cs
- TrackingRecordPreFilter.cs
- ProjectionPruner.cs
- ClientScriptManagerWrapper.cs
- StopStoryboard.cs
- ContainerVisual.cs
- GenericPrincipal.cs
- OperandQuery.cs
- ItemsChangedEventArgs.cs
- CommentAction.cs
- AssemblyCache.cs
- DescendantOverDescendantQuery.cs
- XslCompiledTransform.cs
- TransactionProtocolConverter.cs
- CollectionChangedEventManager.cs
- ImmComposition.cs
- ellipse.cs
- KeyValuePairs.cs
- RijndaelCryptoServiceProvider.cs
- DependsOnAttribute.cs
- XPathScanner.cs
- AssemblyCache.cs
- ObjectQueryState.cs
- DocumentPaginator.cs
- PropertyCondition.cs
- Debug.cs
- BitmapSource.cs
- RemoteWebConfigurationHost.cs
- CacheEntry.cs
- Config.cs
- RSAOAEPKeyExchangeFormatter.cs
- TransactionTraceIdentifier.cs
- PhotoPrintingIntent.cs
- MobileListItem.cs
- OutputScopeManager.cs
- VectorCollectionConverter.cs
- ConstructorBuilder.cs
- DPCustomTypeDescriptor.cs
- Composition.cs
- KeyboardEventArgs.cs
- DataGridCommandEventArgs.cs
- MembershipSection.cs
- CuspData.cs
- TypeConstant.cs
- ProviderSettingsCollection.cs
- PersonalizationProviderCollection.cs
- PropertyFilterAttribute.cs
- X509AsymmetricSecurityKey.cs
- TrackingDataItem.cs
- IsolatedStoragePermission.cs
- FixedSOMSemanticBox.cs
- FileDialog.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ProgressBarHighlightConverter.cs
- Splitter.cs
- Scene3D.cs
- CodeArrayIndexerExpression.cs
- AlternateView.cs
- WindowsGraphics.cs
- EncryptedKeyIdentifierClause.cs
- SQLBinaryStorage.cs
- HatchBrush.cs
- SendKeys.cs
- LabelLiteral.cs
- ScrollBar.cs
- RequestValidator.cs
- InkCollectionBehavior.cs
- NameObjectCollectionBase.cs
- EntityDataSourceWrapperCollection.cs
- RuntimeConfig.cs
- HttpCapabilitiesSectionHandler.cs
- ListViewTableCell.cs
- SignatureConfirmations.cs
- PlatformNotSupportedException.cs
- IisTraceWebEventProvider.cs
- HttpRawResponse.cs
- DataTemplateSelector.cs
- TypeElement.cs
- SafeNativeMethods.cs
- X509CertificateCollection.cs
- Crypto.cs
- VectorAnimationBase.cs
- TransactionWaitAsyncResult.cs
- ApplicationDirectory.cs
- Enlistment.cs
- CodeArgumentReferenceExpression.cs
- ImageMetadata.cs