Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TagNameToTypeMapper.cs
- CodeTypeMember.cs
- FixedTextSelectionProcessor.cs
- DispatcherProcessingDisabled.cs
- Calendar.cs
- XmlNavigatorFilter.cs
- HideDisabledControlAdapter.cs
- NetworkAddressChange.cs
- UnsafeCollabNativeMethods.cs
- DetailsViewModeEventArgs.cs
- IPAddressCollection.cs
- TableRow.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- _SSPISessionCache.cs
- ScriptHandlerFactory.cs
- ErrorWebPart.cs
- PageCodeDomTreeGenerator.cs
- BaseValidatorDesigner.cs
- ZipIOExtraField.cs
- Types.cs
- ItemCollection.cs
- URI.cs
- CorrelationManager.cs
- FloaterParagraph.cs
- _SSPISessionCache.cs
- DesignerPerfEventProvider.cs
- Range.cs
- ByteStream.cs
- Region.cs
- ProfileSettings.cs
- SqlClientWrapperSmiStreamChars.cs
- SqlGatherConsumedAliases.cs
- HealthMonitoringSection.cs
- AutomationProperty.cs
- GridViewUpdateEventArgs.cs
- PropertySourceInfo.cs
- StrokeCollectionDefaultValueFactory.cs
- DbProviderConfigurationHandler.cs
- RuleInfoComparer.cs
- Visual.cs
- Vector3DKeyFrameCollection.cs
- TextSerializer.cs
- PerfCounters.cs
- SoapMessage.cs
- TemplatePropertyEntry.cs
- RichTextBoxConstants.cs
- Tool.cs
- __ComObject.cs
- DbProviderFactories.cs
- HttpCookie.cs
- MDIControlStrip.cs
- MessageQueuePermissionEntry.cs
- TextServicesProperty.cs
- TcpHostedTransportConfiguration.cs
- DoubleCollectionValueSerializer.cs
- CachedPathData.cs
- MyContact.cs
- SoapUnknownHeader.cs
- DocumentViewerBase.cs
- SqlBulkCopyColumnMappingCollection.cs
- XPathException.cs
- WebScriptEndpointElement.cs
- MatrixAnimationUsingPath.cs
- PropertyTabChangedEvent.cs
- Rectangle.cs
- PlacementWorkspace.cs
- NameValueConfigurationElement.cs
- TextEditorParagraphs.cs
- EdmFunctions.cs
- HasCopySemanticsAttribute.cs
- ProfilePropertyMetadata.cs
- WSDualHttpSecurityMode.cs
- CloudCollection.cs
- DataContractSerializerSection.cs
- InputLangChangeEvent.cs
- RegularExpressionValidator.cs
- SecureStringHasher.cs
- Renderer.cs
- ArgumentsParser.cs
- WebPageTraceListener.cs
- XmlAttributeAttribute.cs
- NamedPipeChannelFactory.cs
- LinqExpressionNormalizer.cs
- WrapPanel.cs
- PointConverter.cs
- XhtmlBasicValidatorAdapter.cs
- coordinatorfactory.cs
- TrustManagerMoreInformation.cs
- EntityException.cs
- PatternMatcher.cs
- DataSourceSelectArguments.cs
- BamlTreeUpdater.cs
- ModelMemberCollection.cs
- WrapperSecurityCommunicationObject.cs
- StateBag.cs
- DataGridViewRow.cs
- RepeatBehaviorConverter.cs
- ContactManager.cs
- EventInfo.cs
- ButtonChrome.cs