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
- RtfToXamlLexer.cs
- ConfigXmlReader.cs
- SweepDirectionValidation.cs
- WebPartsPersonalization.cs
- Matrix3D.cs
- X509WindowsSecurityToken.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- RowType.cs
- HttpBindingExtension.cs
- InputLanguageSource.cs
- ResizingMessageFilter.cs
- StrongNameKeyPair.cs
- CombinedGeometry.cs
- PowerStatus.cs
- WrappedDispatcherException.cs
- Size3DConverter.cs
- PriorityBinding.cs
- TreeNodeClickEventArgs.cs
- BufferedGraphics.cs
- GenericUriParser.cs
- ImageCodecInfoPrivate.cs
- EntityDescriptor.cs
- WindowsComboBox.cs
- LinkArea.cs
- XPathNodeList.cs
- PerfCounterSection.cs
- TypeExtensionConverter.cs
- CombinedGeometry.cs
- XamlHostingSection.cs
- CompoundFileDeflateTransform.cs
- DataServiceQueryOfT.cs
- Cursor.cs
- StreamResourceInfo.cs
- ChangeProcessor.cs
- OpacityConverter.cs
- Wizard.cs
- JournalEntry.cs
- TraceHandler.cs
- EdmToObjectNamespaceMap.cs
- TextBounds.cs
- WebSysDefaultValueAttribute.cs
- ProfileParameter.cs
- SchemaLookupTable.cs
- IDataContractSurrogate.cs
- RouteItem.cs
- TraceAsyncResult.cs
- EventRoute.cs
- AutomationAttributeInfo.cs
- ImageMap.cs
- ClientApiGenerator.cs
- PointHitTestResult.cs
- ThousandthOfEmRealDoubles.cs
- DockPatternIdentifiers.cs
- BrowserCapabilitiesCompiler.cs
- HeaderFilter.cs
- ProjectionCamera.cs
- StringComparer.cs
- ListViewCancelEventArgs.cs
- XmlSchemaObject.cs
- DbParameterCollectionHelper.cs
- WebBrowserNavigatingEventHandler.cs
- Int16.cs
- HMAC.cs
- ReferenceEqualityComparer.cs
- PropertyItem.cs
- Message.cs
- EntityStoreSchemaFilterEntry.cs
- PageStatePersister.cs
- TextBlockAutomationPeer.cs
- DataServiceExpressionVisitor.cs
- WebRequestModuleElement.cs
- SrgsRulesCollection.cs
- EntityConnection.cs
- ToolBarTray.cs
- SharedUtils.cs
- BooleanSwitch.cs
- TraceInternal.cs
- SqlDataSourceCommandParser.cs
- HatchBrush.cs
- DataListDesigner.cs
- FtpRequestCacheValidator.cs
- UserControlBuildProvider.cs
- EventProvider.cs
- ComponentEvent.cs
- AsyncContentLoadedEventArgs.cs
- Literal.cs
- ViewStateModeByIdAttribute.cs
- WebBrowser.cs
- HtmlInputSubmit.cs
- VectorValueSerializer.cs
- QueryCacheKey.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- Vector3D.cs
- ConnectionOrientedTransportChannelListener.cs
- ConsumerConnectionPoint.cs
- TypeSystemProvider.cs
- XmlReflectionImporter.cs
- _SslStream.cs
- TableLayoutSettingsTypeConverter.cs
- XmlHelper.cs