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
- _FtpDataStream.cs
- ExceptionHandlersDesigner.cs
- RadioButtonPopupAdapter.cs
- DataGridViewRowEventArgs.cs
- DataGridViewSelectedColumnCollection.cs
- UserCancellationException.cs
- MemberAccessException.cs
- KeyBinding.cs
- WebBrowserNavigatedEventHandler.cs
- XmlCustomFormatter.cs
- NumberAction.cs
- HMACSHA1.cs
- EncryptedPackageFilter.cs
- DbgUtil.cs
- RequiredFieldValidator.cs
- VisualBrush.cs
- SspiSecurityToken.cs
- WinFormsSecurity.cs
- SmtpSection.cs
- ExceptionNotification.cs
- ConfigXmlComment.cs
- SchemaMapping.cs
- GradientStopCollection.cs
- RoutingExtension.cs
- SettingsSavedEventArgs.cs
- DataSourceControlBuilder.cs
- ConfigXmlWhitespace.cs
- DefaultClaimSet.cs
- WebServiceParameterData.cs
- UInt16.cs
- WebDescriptionAttribute.cs
- ExpressionBinding.cs
- MsmqIntegrationBindingCollectionElement.cs
- ContentOperations.cs
- DesigntimeLicenseContextSerializer.cs
- ModifyActivitiesPropertyDescriptor.cs
- OleDbException.cs
- SplayTreeNode.cs
- WebRequestModulesSection.cs
- CachedPathData.cs
- SqlWorkflowInstanceStore.cs
- SystemIPv6InterfaceProperties.cs
- TemplateControlBuildProvider.cs
- DeviceSpecificDialogCachedState.cs
- AuthenticatedStream.cs
- Property.cs
- RoutedEventValueSerializer.cs
- HeaderCollection.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- RedirectionProxy.cs
- DesignerTransactionCloseEvent.cs
- DataRowView.cs
- ErrorTableItemStyle.cs
- AutomationProperties.cs
- CompareValidator.cs
- MailMessageEventArgs.cs
- UserPreferenceChangingEventArgs.cs
- StateChangeEvent.cs
- WebPartConnectionsConfigureVerb.cs
- InvalidOperationException.cs
- Trace.cs
- WebPartManager.cs
- MSAANativeProvider.cs
- ConfigurationLockCollection.cs
- GridViewPageEventArgs.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- JsonFormatWriterGenerator.cs
- ApplicationServiceManager.cs
- CodePageEncoding.cs
- C14NUtil.cs
- ConfigurationLockCollection.cs
- BounceEase.cs
- FileCodeGroup.cs
- Axis.cs
- BinaryCommonClasses.cs
- ObjectDataSource.cs
- WebControlParameterProxy.cs
- LocatorPartList.cs
- WebPartDisplayModeCancelEventArgs.cs
- Set.cs
- OptimalTextSource.cs
- XamlInt32CollectionSerializer.cs
- TextureBrush.cs
- HtmlDocument.cs
- MetadataArtifactLoaderCompositeFile.cs
- EmptyElement.cs
- TableItemStyle.cs
- HandlerBase.cs
- ShaderEffect.cs
- PrintPreviewControl.cs
- PixelFormats.cs
- RecordBuilder.cs
- SignalGate.cs
- ConsoleCancelEventArgs.cs
- DataGridColumnHeaderAutomationPeer.cs
- SQLByte.cs
- NativeActivityFaultContext.cs
- Section.cs
- XmlArrayItemAttribute.cs
- EntityDataSourceWizardForm.cs