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
- XmlBinaryWriter.cs
- Registration.cs
- EntityViewGenerator.cs
- AxisAngleRotation3D.cs
- PropertyChangedEventArgs.cs
- MarkupCompilePass2.cs
- ConfigurationManagerInternal.cs
- CatalogPart.cs
- WinEventTracker.cs
- DesignTimeDataBinding.cs
- TdsParserStateObject.cs
- XamlStackWriter.cs
- TdsValueSetter.cs
- FactoryGenerator.cs
- infer.cs
- StreamWithDictionary.cs
- MonitoringDescriptionAttribute.cs
- ResourceManagerWrapper.cs
- SafeCryptoHandles.cs
- ThemeDictionaryExtension.cs
- XmlDataSource.cs
- RelatedEnd.cs
- ExpressionConverter.cs
- ThemeDictionaryExtension.cs
- PeerNameRecordCollection.cs
- EncoderExceptionFallback.cs
- DSASignatureDeformatter.cs
- AssociationTypeEmitter.cs
- CharKeyFrameCollection.cs
- SelectionRangeConverter.cs
- baseaxisquery.cs
- Solver.cs
- EmptyEnumerable.cs
- CodeNamespaceCollection.cs
- MetadataCacheItem.cs
- SubMenuStyleCollection.cs
- GeometryGroup.cs
- newitemfactory.cs
- DataGridViewSortCompareEventArgs.cs
- RTLAwareMessageBox.cs
- DataGridViewCellStyle.cs
- _SSPIWrapper.cs
- WebRequestModuleElement.cs
- SessionStateUtil.cs
- SystemInformation.cs
- PackageDigitalSignature.cs
- InkCanvasFeedbackAdorner.cs
- DetailsViewPagerRow.cs
- ConfigXmlText.cs
- ConnectionStringSettingsCollection.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- HostedAspNetEnvironment.cs
- InternalCache.cs
- TextElementEditingBehaviorAttribute.cs
- QilXmlReader.cs
- SystemIPInterfaceProperties.cs
- AutoResetEvent.cs
- DataRelation.cs
- PolyLineSegment.cs
- PageParserFilter.cs
- OdbcConnectionStringbuilder.cs
- RoutedEvent.cs
- DataObjectCopyingEventArgs.cs
- SqlConnectionPoolGroupProviderInfo.cs
- VersionUtil.cs
- CaseStatement.cs
- ExpressionBuilder.cs
- SecurityContext.cs
- PropertyIDSet.cs
- BuildDependencySet.cs
- WebPartDesigner.cs
- WpfMemberInvoker.cs
- WorkflowCommandExtensionItem.cs
- CompoundFileDeflateTransform.cs
- Brush.cs
- ScopedKnownTypes.cs
- ToolboxComponentsCreatedEventArgs.cs
- ChangeNode.cs
- EmptyElement.cs
- SizeAnimationClockResource.cs
- SqlStatistics.cs
- ToolStripRenderEventArgs.cs
- XmlSerializationReader.cs
- AssemblyCache.cs
- SqlConnectionPoolProviderInfo.cs
- Single.cs
- ObjectContext.cs
- WinFormsSecurity.cs
- Main.cs
- RadioButtonBaseAdapter.cs
- DeflateStream.cs
- LinqDataSourceEditData.cs
- Storyboard.cs
- FolderBrowserDialog.cs
- LabelLiteral.cs
- ProviderConnectionPointCollection.cs
- StatusBarPanel.cs
- DrawingAttributeSerializer.cs
- glyphs.cs
- IOThreadTimer.cs