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
- PointUtil.cs
- WindowsListViewGroup.cs
- PathSegmentCollection.cs
- ImplicitInputBrush.cs
- StructuredType.cs
- TextSelectionProcessor.cs
- DefaultBinder.cs
- DrawingGroupDrawingContext.cs
- SessionStateContainer.cs
- SerializationObjectManager.cs
- PolicyManager.cs
- Model3D.cs
- DataAccessor.cs
- DashStyle.cs
- RootBrowserWindowProxy.cs
- Crypto.cs
- FontSourceCollection.cs
- ComponentRenameEvent.cs
- BlockExpression.cs
- XamlReaderHelper.cs
- SQLInt64.cs
- Assert.cs
- TextShapeableCharacters.cs
- DynamicResourceExtensionConverter.cs
- ZeroOpNode.cs
- TextClipboardData.cs
- DataGridViewTopLeftHeaderCell.cs
- TextFormatter.cs
- AccessibleObject.cs
- DocumentPaginator.cs
- Transform.cs
- SvcFileManager.cs
- PropertyContainer.cs
- TreeView.cs
- FormatterServicesNoSerializableCheck.cs
- Page.cs
- AttachInfo.cs
- PassportIdentity.cs
- AnnouncementEndpointElement.cs
- UpdatePanel.cs
- FileSystemEventArgs.cs
- MILUtilities.cs
- InputEventArgs.cs
- SafeNativeMethodsCLR.cs
- InkCanvasInnerCanvas.cs
- FixedDSBuilder.cs
- WindowsScrollBarBits.cs
- HtmlButton.cs
- OdbcReferenceCollection.cs
- HandlerElement.cs
- UIElementHelper.cs
- OracleTransaction.cs
- KeyedHashAlgorithm.cs
- ListenerSessionConnectionReader.cs
- ResourcesBuildProvider.cs
- BaseValidator.cs
- WsatServiceCertificate.cs
- WindowInteractionStateTracker.cs
- LicFileLicenseProvider.cs
- SmtpCommands.cs
- DesignTimeParseData.cs
- PersonalizationStateInfo.cs
- DomNameTable.cs
- ValidationError.cs
- StrokeRenderer.cs
- ManipulationCompletedEventArgs.cs
- util.cs
- EditorZoneBase.cs
- TargetFrameworkAttribute.cs
- SmiXetterAccessMap.cs
- LayoutSettings.cs
- SimpleWebHandlerParser.cs
- TheQuery.cs
- InkPresenterAutomationPeer.cs
- DbReferenceCollection.cs
- StringSource.cs
- ErrorWrapper.cs
- QueryCacheKey.cs
- ConfigurationSection.cs
- SerializationHelper.cs
- AppSettings.cs
- SecurityResources.cs
- CodeArrayIndexerExpression.cs
- SqlStatistics.cs
- HttpStreamMessage.cs
- HttpHandlerAction.cs
- ArrayElementGridEntry.cs
- SamlAudienceRestrictionCondition.cs
- HttpWebRequestElement.cs
- DesignTable.cs
- OwnerDrawPropertyBag.cs
- BitmapEffectGroup.cs
- ModuleBuilderData.cs
- PrivateFontCollection.cs
- MaskedTextProvider.cs
- NumberFormatter.cs
- formatter.cs
- RecipientInfo.cs
- XdrBuilder.cs
- PlatformNotSupportedException.cs