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
- HexParser.cs
- IISMapPath.cs
- HostnameComparisonMode.cs
- PublishLicense.cs
- SiteOfOriginContainer.cs
- HtmlInputFile.cs
- HttpException.cs
- PartitionResolver.cs
- baseaxisquery.cs
- RuntimeEnvironment.cs
- ObjectDataSource.cs
- NamedObject.cs
- Baml2006Reader.cs
- PriorityChain.cs
- SqlXmlStorage.cs
- FileStream.cs
- BindingNavigator.cs
- WebPartUtil.cs
- HtmlInputControl.cs
- AdapterDictionary.cs
- IdentityNotMappedException.cs
- SetState.cs
- ApplicationSettingsBase.cs
- ImportCatalogPart.cs
- DomainUpDown.cs
- JournalEntry.cs
- LinqDataSourceDisposeEventArgs.cs
- MaskedTextBoxDesigner.cs
- SrgsOneOf.cs
- WinFormsSpinner.cs
- HitTestResult.cs
- NativeRecognizer.cs
- AdCreatedEventArgs.cs
- BoundField.cs
- IdleTimeoutMonitor.cs
- SourceFileInfo.cs
- WebBrowser.cs
- PropertyPushdownHelper.cs
- XmlResolver.cs
- GetPageNumberCompletedEventArgs.cs
- ControlPersister.cs
- Subtree.cs
- StylusDownEventArgs.cs
- HtmlForm.cs
- DisableDpiAwarenessAttribute.cs
- UIElementCollection.cs
- RepeatButton.cs
- FormCollection.cs
- AppDomainUnloadedException.cs
- WebPartTransformer.cs
- ComAdminInterfaces.cs
- FileDialog.cs
- _Win32.cs
- Variant.cs
- SystemWebExtensionsSectionGroup.cs
- EdmSchemaError.cs
- DelegateSerializationHolder.cs
- RootBuilder.cs
- InstanceNotReadyException.cs
- PieceDirectory.cs
- DictionaryGlobals.cs
- SHA384.cs
- _SSPIWrapper.cs
- DynamicDocumentPaginator.cs
- ExpressionCopier.cs
- CodeTypeDeclaration.cs
- HtmlWindow.cs
- Helper.cs
- TextTreeText.cs
- OptimalTextSource.cs
- DebugInfoGenerator.cs
- FormsAuthenticationEventArgs.cs
- HandlerWithFactory.cs
- RowTypeElement.cs
- X509ServiceCertificateAuthentication.cs
- OciLobLocator.cs
- ResourceDefaultValueAttribute.cs
- SettingsPropertyValue.cs
- ReadContentAsBinaryHelper.cs
- DurableDispatcherAddressingFault.cs
- XmlDataCollection.cs
- TableLayoutStyle.cs
- Rotation3D.cs
- EntityException.cs
- ButtonStandardAdapter.cs
- RawStylusActions.cs
- ScrollPattern.cs
- Fonts.cs
- TextBlockAutomationPeer.cs
- RowToParametersTransformer.cs
- SchemaEntity.cs
- XmlAttributeCollection.cs
- RepeaterDesigner.cs
- SmtpNtlmAuthenticationModule.cs
- PageWrapper.cs
- PeerTransportSecurityElement.cs
- XslUrlEditor.cs
- SpecularMaterial.cs
- PermissionToken.cs
- MultiDataTrigger.cs