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
- TypeToken.cs
- EllipseGeometry.cs
- DataContractSerializerOperationGenerator.cs
- ReplyChannelBinder.cs
- TemplateInstanceAttribute.cs
- TemplateLookupAction.cs
- FacetChecker.cs
- XPathDescendantIterator.cs
- CompilerState.cs
- BooleanFunctions.cs
- GACMembershipCondition.cs
- DataRelationCollection.cs
- ScrollBarRenderer.cs
- DragEvent.cs
- EntityUtil.cs
- SoapIncludeAttribute.cs
- HtmlInputFile.cs
- FormsAuthenticationUser.cs
- OperatingSystem.cs
- mediaeventshelper.cs
- DocumentAutomationPeer.cs
- _NetRes.cs
- ComponentEvent.cs
- IdnMapping.cs
- PackagingUtilities.cs
- BitVector32.cs
- ParallelTimeline.cs
- FormsAuthenticationUser.cs
- XmlNamespaceManager.cs
- StorageModelBuildProvider.cs
- TextParagraphProperties.cs
- PageAsyncTaskManager.cs
- RequestQueue.cs
- StringReader.cs
- TerminateDesigner.cs
- WorkflowRequestContext.cs
- ListControl.cs
- Expression.cs
- MenuAdapter.cs
- BaseValidator.cs
- FindCompletedEventArgs.cs
- AddInToken.cs
- Rect.cs
- FileDialog.cs
- ServiceDocument.cs
- RequestTimeoutManager.cs
- NetStream.cs
- Assembly.cs
- RegexMatchCollection.cs
- TextEffect.cs
- StateChangeEvent.cs
- PageParserFilter.cs
- BinaryConverter.cs
- HuffmanTree.cs
- TemplateKey.cs
- GridErrorDlg.cs
- sqlcontext.cs
- DataGridComponentEditor.cs
- CompressEmulationStream.cs
- DynamicRendererThreadManager.cs
- COAUTHINFO.cs
- DetailsViewInsertedEventArgs.cs
- DesignerGenericWebPart.cs
- ProfileServiceManager.cs
- WindowsGraphicsWrapper.cs
- UpdatePanelTriggerCollection.cs
- WebPartHeaderCloseVerb.cs
- UserControl.cs
- FixedSOMTableCell.cs
- SliderAutomationPeer.cs
- MembershipSection.cs
- PtsContext.cs
- CheckPair.cs
- UserNameSecurityToken.cs
- CssClassPropertyAttribute.cs
- SecurityUtils.cs
- Button.cs
- ColumnCollection.cs
- IList.cs
- RSAPKCS1SignatureFormatter.cs
- SequenceDesigner.cs
- Compiler.cs
- DocumentSequence.cs
- SqlInternalConnectionSmi.cs
- figurelengthconverter.cs
- InstanceDataCollectionCollection.cs
- XmlObjectSerializerContext.cs
- MailBnfHelper.cs
- ThemeDirectoryCompiler.cs
- AssociationEndMember.cs
- TraceXPathNavigator.cs
- OdbcTransaction.cs
- DynamicPropertyReader.cs
- Vector.cs
- IInstanceContextProvider.cs
- RemotingSurrogateSelector.cs
- WebEvents.cs
- OracleInternalConnection.cs
- DragEventArgs.cs
- CommandConverter.cs