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
- Camera.cs
- UnlockCardRequest.cs
- DragStartedEventArgs.cs
- StagingAreaInputItem.cs
- ObjectStateManagerMetadata.cs
- Visual3DCollection.cs
- DocumentViewerHelper.cs
- PolicyStatement.cs
- TextModifier.cs
- MetadataCache.cs
- PathGeometry.cs
- StartFileNameEditor.cs
- Axis.cs
- XpsS0ValidatingLoader.cs
- ProviderUtil.cs
- TogglePatternIdentifiers.cs
- TranslateTransform3D.cs
- SupportsPreviewControlAttribute.cs
- BasicHttpMessageSecurityElement.cs
- CodeObjectCreateExpression.cs
- XmlSchemaImporter.cs
- GlobalItem.cs
- WSHttpBindingBaseElement.cs
- ListControl.cs
- controlskin.cs
- ConfigurationStrings.cs
- CommandBindingCollection.cs
- SqlEnums.cs
- SecurityTokenInclusionMode.cs
- XmlSchemaGroupRef.cs
- SqlMultiplexer.cs
- DataGridBeginningEditEventArgs.cs
- EntityExpressionVisitor.cs
- CodeCompiler.cs
- HttpHandlerActionCollection.cs
- GridPattern.cs
- DebugHandleTracker.cs
- AuthenticationException.cs
- WebEventTraceProvider.cs
- FixedPageProcessor.cs
- Image.cs
- AuthorizationRule.cs
- OutputScopeManager.cs
- WebPartHeaderCloseVerb.cs
- StorageSetMapping.cs
- TranslateTransform3D.cs
- ContentType.cs
- PackageRelationshipCollection.cs
- KerberosSecurityTokenAuthenticator.cs
- TextRangeEdit.cs
- SystemIcons.cs
- CodeAttachEventStatement.cs
- BitSet.cs
- wgx_render.cs
- DataGridViewCellStyleEditor.cs
- SBCSCodePageEncoding.cs
- SqlCacheDependencySection.cs
- ReadOnlyPermissionSet.cs
- MaterialCollection.cs
- Trace.cs
- SqlWebEventProvider.cs
- EntityContainerEntitySet.cs
- AdornerPresentationContext.cs
- DatatypeImplementation.cs
- complextypematerializer.cs
- XamlSerializerUtil.cs
- ExpressionDumper.cs
- oledbconnectionstring.cs
- StateMachineSubscription.cs
- DataGridViewCellStyleConverter.cs
- ExpressionConverter.cs
- PersianCalendar.cs
- EdmFunction.cs
- StylusPoint.cs
- ModelUIElement3D.cs
- KeyValueSerializer.cs
- CalendarItem.cs
- Quaternion.cs
- SessionPageStatePersister.cs
- CheckBoxList.cs
- HttpRequestTraceRecord.cs
- DesignerForm.cs
- Frame.cs
- RectangleGeometry.cs
- RijndaelCryptoServiceProvider.cs
- WebPartHelpVerb.cs
- ObjectSerializerFactory.cs
- CommandManager.cs
- WhitespaceRule.cs
- PolyQuadraticBezierSegment.cs
- DiscoveryVersion.cs
- BitmapPalette.cs
- SchemaInfo.cs
- SafeRightsManagementPubHandle.cs
- DataBoundControlAdapter.cs
- NullableDoubleAverageAggregationOperator.cs
- ToolboxComponentsCreatedEventArgs.cs
- HttpListenerException.cs
- AssemblyNameEqualityComparer.cs
- ImageMapEventArgs.cs