Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Storyboard.cs
- DataViewManager.cs
- Tile.cs
- PtsHost.cs
- ResourceManager.cs
- SectionXmlInfo.cs
- SequenceDesigner.cs
- ReadWriteObjectLock.cs
- BufferAllocator.cs
- NGCUIElementCollectionSerializerAsync.cs
- ScrollProperties.cs
- ProxyWebPartManagerDesigner.cs
- UriParserTemplates.cs
- Geometry.cs
- ApplicationException.cs
- SubMenuStyleCollectionEditor.cs
- WindowPattern.cs
- RadioButton.cs
- SizeAnimation.cs
- DeviceFilterEditorDialog.cs
- PackageDigitalSignature.cs
- xml.cs
- AssemblyGen.cs
- DataPagerCommandEventArgs.cs
- Signature.cs
- CompilationUtil.cs
- HierarchicalDataSourceControl.cs
- OdbcCommandBuilder.cs
- TextElement.cs
- RectangleGeometry.cs
- CngKey.cs
- SeekableReadStream.cs
- CommandDesigner.cs
- ActivitySurrogate.cs
- WeakReadOnlyCollection.cs
- DataGridViewBand.cs
- BitmapEffect.cs
- TaskbarItemInfo.cs
- NonClientArea.cs
- FormViewUpdateEventArgs.cs
- FormViewUpdatedEventArgs.cs
- BitmapMetadataBlob.cs
- odbcmetadatafactory.cs
- ControlCodeDomSerializer.cs
- DispatcherOperation.cs
- ServiceContractDetailViewControl.cs
- Throw.cs
- GifBitmapEncoder.cs
- FilteredDataSetHelper.cs
- HwndSourceParameters.cs
- Tag.cs
- TableLayoutStyleCollection.cs
- HtmlTextArea.cs
- ImageAnimator.cs
- NetNamedPipeBinding.cs
- SqlErrorCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- StateWorkerRequest.cs
- OleCmdHelper.cs
- RoleService.cs
- NetworkInterface.cs
- UpdatePanel.cs
- BaseTemplateCodeDomTreeGenerator.cs
- Decorator.cs
- UrlPath.cs
- PointUtil.cs
- PrintSystemException.cs
- ConnectionPointCookie.cs
- MsmqBindingElementBase.cs
- InstanceDataCollection.cs
- ClrPerspective.cs
- DataGridViewCellParsingEventArgs.cs
- CreationContext.cs
- DetailsViewModeEventArgs.cs
- Geometry3D.cs
- WebBaseEventKeyComparer.cs
- DataGridViewSelectedColumnCollection.cs
- BezierSegment.cs
- RequiredFieldValidator.cs
- MarkerProperties.cs
- InputBinding.cs
- DataSvcMapFileSerializer.cs
- KeyedHashAlgorithm.cs
- DataServiceBuildProvider.cs
- ClientApiGenerator.cs
- NativeMethods.cs
- ToolStripPanel.cs
- NegotiateStream.cs
- MsmqIntegrationSecurity.cs
- ProgressBar.cs
- RegexRunner.cs
- SecUtil.cs
- CanonicalFontFamilyReference.cs
- CodeAccessPermission.cs
- FixedHighlight.cs
- SegmentInfo.cs
- OrderPreservingSpoolingTask.cs
- TextBlock.cs
- X509RawDataKeyIdentifierClause.cs
- StrictAndMessageFilter.cs