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
- LocalFileSettingsProvider.cs
- Util.cs
- TraceSection.cs
- WindowsSpinner.cs
- ToolStripMenuItem.cs
- AuthorizationSection.cs
- RoutedEventConverter.cs
- Point3DIndependentAnimationStorage.cs
- Journaling.cs
- DateTimeFormat.cs
- GlyphingCache.cs
- DataGridViewIntLinkedList.cs
- DeclaredTypeValidatorAttribute.cs
- AuthenticationService.cs
- DataGridViewSelectedCellCollection.cs
- BStrWrapper.cs
- SelfIssuedAuthRSACryptoProvider.cs
- Typography.cs
- SessionPageStatePersister.cs
- DotExpr.cs
- RightsManagementErrorHandler.cs
- TaiwanLunisolarCalendar.cs
- TextSpan.cs
- PairComparer.cs
- SoapFormatter.cs
- ConfigurationStrings.cs
- SortAction.cs
- SessionStateSection.cs
- ToolStripContainer.cs
- FreeFormDesigner.cs
- DataGridToolTip.cs
- SrgsRule.cs
- HMACSHA384.cs
- PropertyManager.cs
- NameSpaceEvent.cs
- MessagingDescriptionAttribute.cs
- ToolboxDataAttribute.cs
- MultiSelector.cs
- CngAlgorithm.cs
- X509CertificateValidator.cs
- TemplatePropertyEntry.cs
- WebRequestModuleElementCollection.cs
- ClientConfigurationHost.cs
- HttpHandlerAction.cs
- AdornedElementPlaceholder.cs
- IItemProperties.cs
- MetadataFile.cs
- PackagingUtilities.cs
- oledbmetadatacollectionnames.cs
- ArgumentException.cs
- Win32Native.cs
- DrawTreeNodeEventArgs.cs
- DataTable.cs
- GlyphsSerializer.cs
- ConfigXmlComment.cs
- UIElementCollection.cs
- PageParserFilter.cs
- HotSpotCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- RightsDocument.cs
- MulticastOption.cs
- MissingFieldException.cs
- FlowDocument.cs
- ToolStripDropDown.cs
- FusionWrap.cs
- x509store.cs
- RSAPKCS1SignatureFormatter.cs
- ProfileBuildProvider.cs
- BigInt.cs
- ElementNotAvailableException.cs
- UriExt.cs
- WindowsScroll.cs
- TrackingValidationObjectDictionary.cs
- ExecutionContext.cs
- KeyboardEventArgs.cs
- GZipObjectSerializer.cs
- DrawingVisual.cs
- FigureHelper.cs
- COM2ComponentEditor.cs
- ConfigErrorGlyph.cs
- BitmapEffectGeneralTransform.cs
- KeyedCollection.cs
- WS2007HttpBinding.cs
- FtpCachePolicyElement.cs
- TextAutomationPeer.cs
- Point3D.cs
- ColorConvertedBitmapExtension.cs
- NumberSubstitution.cs
- InfoCardSchemas.cs
- ToolStripRendererSwitcher.cs
- TextDecorationCollectionConverter.cs
- DataAdapter.cs
- AppDomain.cs
- SerTrace.cs
- EntityParameterCollection.cs
- SoapWriter.cs
- SafeNativeMethods.cs
- QueryCreatedEventArgs.cs
- ReferentialConstraint.cs
- RevocationPoint.cs