Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- MultiPropertyDescriptorGridEntry.cs
- UInt32Storage.cs
- ChannelHandler.cs
- CodeStatement.cs
- SQLInt16.cs
- PanelContainerDesigner.cs
- FontStyles.cs
- DataTableReaderListener.cs
- ValidationRuleCollection.cs
- SystemIcmpV6Statistics.cs
- METAHEADER.cs
- XmlStreamStore.cs
- DataBoundLiteralControl.cs
- SubclassTypeValidatorAttribute.cs
- Button.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- DynamicDiscoveryDocument.cs
- RegisteredScript.cs
- ProviderUtil.cs
- CacheOutputQuery.cs
- IIS7WorkerRequest.cs
- XmlSchemaInferenceException.cs
- ISAPIWorkerRequest.cs
- InternalBufferOverflowException.cs
- BrowserCapabilitiesFactory.cs
- FastEncoder.cs
- HandleValueEditor.cs
- TableAdapterManagerHelper.cs
- CodeAttachEventStatement.cs
- ReferencedCollectionType.cs
- EndpointInstanceProvider.cs
- ExtensionQuery.cs
- TriggerActionCollection.cs
- Header.cs
- Int16Animation.cs
- Rect.cs
- DocumentViewerConstants.cs
- ConstNode.cs
- CodeCatchClauseCollection.cs
- EventProxy.cs
- SafeRightsManagementQueryHandle.cs
- ButtonChrome.cs
- PagesChangedEventArgs.cs
- CheckBoxBaseAdapter.cs
- MailAddress.cs
- SessionMode.cs
- Parsers.cs
- LayoutEditorPart.cs
- ReadOnlyMetadataCollection.cs
- MessageOperationFormatter.cs
- DefaultValidator.cs
- TypeUnloadedException.cs
- UIPermission.cs
- CodeIdentifiers.cs
- ProvidersHelper.cs
- MenuItemStyleCollection.cs
- SamlAuthenticationClaimResource.cs
- TransformGroup.cs
- TransformerTypeCollection.cs
- PathSegmentCollection.cs
- Parameter.cs
- VisemeEventArgs.cs
- Rfc2898DeriveBytes.cs
- VersionUtil.cs
- ConfigurationSectionGroupCollection.cs
- ConfigurationLocation.cs
- RequestTimeoutManager.cs
- WindowsContainer.cs
- UnsafeNativeMethods.cs
- UpdatePanelTrigger.cs
- DataGridViewCellStateChangedEventArgs.cs
- IRCollection.cs
- ColorMap.cs
- EntityExpressionVisitor.cs
- SqlWorkflowInstanceStoreLock.cs
- HashMembershipCondition.cs
- TreeView.cs
- ScriptRegistrationManager.cs
- ContextDataSourceContextData.cs
- QueuePropertyVariants.cs
- DefaultPrintController.cs
- SoapObjectInfo.cs
- ChannelManager.cs
- TemplatePropertyEntry.cs
- SQLRoleProvider.cs
- TagPrefixInfo.cs
- _BaseOverlappedAsyncResult.cs
- ResolveNameEventArgs.cs
- RewritingSimplifier.cs
- GeometryGroup.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- ZoneButton.cs
- RoleService.cs
- WindowsSolidBrush.cs
- RTLAwareMessageBox.cs
- InheritanceContextChangedEventManager.cs
- SqlProfileProvider.cs
- OpacityConverter.cs
- CodeExpressionCollection.cs
- Geometry.cs