Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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) { } } } // 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
- BindingExpression.cs
- PriorityQueue.cs
- StateBag.cs
- HTTPNotFoundHandler.cs
- SHA1.cs
- BinaryFormatterWriter.cs
- XhtmlTextWriter.cs
- ApplyImportsAction.cs
- HttpDebugHandler.cs
- httpapplicationstate.cs
- DispatcherExceptionEventArgs.cs
- DecimalConverter.cs
- FontDifferentiator.cs
- NavigationProperty.cs
- ServiceReference.cs
- SolidColorBrush.cs
- AnnotationService.cs
- TempFiles.cs
- StylusEditingBehavior.cs
- HostProtectionException.cs
- DataTransferEventArgs.cs
- _Rfc2616CacheValidators.cs
- TransportSecurityHelpers.cs
- SymbolType.cs
- WebPartCloseVerb.cs
- PolyQuadraticBezierSegment.cs
- WpfKnownMemberInvoker.cs
- TileModeValidation.cs
- ProfessionalColors.cs
- StatusBarItem.cs
- ScriptingProfileServiceSection.cs
- CollectionExtensions.cs
- DefaultMemberAttribute.cs
- Walker.cs
- XmlHierarchicalEnumerable.cs
- ClientSession.cs
- DefaultTraceListener.cs
- DockAndAnchorLayout.cs
- XmlCharacterData.cs
- StructuredProperty.cs
- FormDocumentDesigner.cs
- ElementsClipboardData.cs
- CodeTypeParameter.cs
- URLString.cs
- Debug.cs
- RequestResponse.cs
- RelationshipEndMember.cs
- HttpWebRequest.cs
- Environment.cs
- CategoryEditor.cs
- HtmlHistory.cs
- XamlWriterExtensions.cs
- FontWeightConverter.cs
- SqlRowUpdatingEvent.cs
- DataGridRelationshipRow.cs
- SignedXmlDebugLog.cs
- SourceItem.cs
- UnknownWrapper.cs
- XhtmlBasicLiteralTextAdapter.cs
- nulltextcontainer.cs
- Formatter.cs
- PeerName.cs
- XmlNodeWriter.cs
- FunctionQuery.cs
- ImmutablePropertyDescriptorGridEntry.cs
- DataExpression.cs
- ApplicationServiceManager.cs
- PictureBox.cs
- SoapRpcServiceAttribute.cs
- EditorPartChrome.cs
- LineServices.cs
- ReflectionPermission.cs
- KeyConverter.cs
- AttachedPropertyBrowsableAttribute.cs
- SafeRightsManagementEnvironmentHandle.cs
- TextWriterTraceListener.cs
- MouseButton.cs
- LicenseContext.cs
- ConnectorSelectionGlyph.cs
- SamlAuthorizationDecisionClaimResource.cs
- MdiWindowListStrip.cs
- DoubleAnimation.cs
- CachedPathData.cs
- RelationshipFixer.cs
- DummyDataSource.cs
- ThicknessAnimationBase.cs
- AxisAngleRotation3D.cs
- DataTransferEventArgs.cs
- ObjectDataSourceDisposingEventArgs.cs
- DomainConstraint.cs
- QilTargetType.cs
- LinqDataSourceSelectEventArgs.cs
- ControlAdapter.cs
- SoapIgnoreAttribute.cs
- ObjectIDGenerator.cs
- SqlClientWrapperSmiStream.cs
- ColorTransformHelper.cs
- PageCodeDomTreeGenerator.cs
- DataGridRelationshipRow.cs
- ZipIOExtraFieldElement.cs