Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MethodBuilderInstantiation.cs
- ObjectList.cs
- MdImport.cs
- NumberFormatInfo.cs
- Size3D.cs
- TextElement.cs
- Int64.cs
- SrgsSemanticInterpretationTag.cs
- OpCodes.cs
- OrderedDictionary.cs
- PublisherIdentityPermission.cs
- OutputCacheSettingsSection.cs
- SpecialNameAttribute.cs
- PageStatePersister.cs
- Row.cs
- SafeMarshalContext.cs
- Enum.cs
- CriticalExceptions.cs
- RowType.cs
- VectorAnimationUsingKeyFrames.cs
- AsyncResult.cs
- TableItemStyle.cs
- ControlBuilderAttribute.cs
- StreamInfo.cs
- WebPartConnectionsConfigureVerb.cs
- PolyQuadraticBezierSegment.cs
- CompositeActivityValidator.cs
- EventToken.cs
- RemotingException.cs
- UniqueEventHelper.cs
- ObjectNavigationPropertyMapping.cs
- ComponentDispatcherThread.cs
- EntityEntry.cs
- SystemThemeKey.cs
- EndOfStreamException.cs
- DefaultEventAttribute.cs
- PackWebRequest.cs
- _ConnectOverlappedAsyncResult.cs
- PrivilegeNotHeldException.cs
- AsyncOperation.cs
- TransformCollection.cs
- ReferencedType.cs
- CFGGrammar.cs
- DataObject.cs
- WindowExtensionMethods.cs
- ResourceDescriptionAttribute.cs
- WindowsAltTab.cs
- XmlSchemaIdentityConstraint.cs
- ObjectDataSourceView.cs
- XamlStyleSerializer.cs
- EncodingStreamWrapper.cs
- TextTreeTextNode.cs
- StrokeIntersection.cs
- OdbcEnvironment.cs
- NetworkStream.cs
- Hash.cs
- SqlBuffer.cs
- ViewEventArgs.cs
- DynamicMethod.cs
- ClientRequest.cs
- GenericParameterDataContract.cs
- EntityException.cs
- FileDialogPermission.cs
- SspiSafeHandles.cs
- PasswordRecovery.cs
- SqlBooleanizer.cs
- AssemblyCache.cs
- StylusPointPropertyInfoDefaults.cs
- entityreference_tresulttype.cs
- ClientRoleProvider.cs
- LineGeometry.cs
- ObjectComplexPropertyMapping.cs
- ValuePattern.cs
- ContextTokenTypeConverter.cs
- BindingMemberInfo.cs
- TemplatedMailWebEventProvider.cs
- OdbcConnectionOpen.cs
- DefaultTextStoreTextComposition.cs
- TableParagraph.cs
- FixedSOMFixedBlock.cs
- InlineObject.cs
- HttpVersion.cs
- DataGridViewDataErrorEventArgs.cs
- OutKeywords.cs
- RoutedEventValueSerializer.cs
- HttpRuntimeSection.cs
- SafeHandle.cs
- CharEnumerator.cs
- BinaryEditor.cs
- VisualBasicSettings.cs
- ControlValuePropertyAttribute.cs
- Hashtable.cs
- FixedSOMPageElement.cs
- DirectoryNotFoundException.cs
- WSSecurityPolicy12.cs
- MulticastNotSupportedException.cs
- TreeNodeStyle.cs
- VectorAnimation.cs
- BuilderInfo.cs
- SafeFileHandle.cs