Code:
/ FX-1434 / FX-1434 / 1.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
- VolatileEnlistmentState.cs
- SafeThreadHandle.cs
- ConstructorNeedsTagAttribute.cs
- ToolStripControlHost.cs
- FeatureSupport.cs
- SymbolType.cs
- TimeSpanStorage.cs
- File.cs
- NotFiniteNumberException.cs
- ServiceModelConfigurationSectionGroup.cs
- BmpBitmapDecoder.cs
- UserControlBuildProvider.cs
- DeferredTextReference.cs
- CodeDomLocalizationProvider.cs
- FirstMatchCodeGroup.cs
- SetterBase.cs
- NamespaceEmitter.cs
- ProtocolsConfigurationEntry.cs
- SoundPlayerAction.cs
- BinaryReader.cs
- LinqMaximalSubtreeNominator.cs
- BindValidator.cs
- ResponseBodyWriter.cs
- Int16Storage.cs
- CompressStream.cs
- MimeReturn.cs
- KeyConstraint.cs
- PieceNameHelper.cs
- SoapProtocolImporter.cs
- RequestNavigateEventArgs.cs
- LayoutManager.cs
- DynamicActivityTypeDescriptor.cs
- BreakRecordTable.cs
- KeySplineConverter.cs
- Size.cs
- FlowDocumentReader.cs
- DocumentsTrace.cs
- SQLMoney.cs
- ListSortDescription.cs
- ServiceModelConfigurationElementCollection.cs
- ObjectView.cs
- RectAnimationUsingKeyFrames.cs
- WindowsFont.cs
- XmlSchemaRedefine.cs
- UidPropertyAttribute.cs
- OneWayChannelFactory.cs
- DataSourceExpressionCollection.cs
- WebPartConnectionsConnectVerb.cs
- CanonicalXml.cs
- NullableLongSumAggregationOperator.cs
- KeyedCollection.cs
- OdbcConnectionFactory.cs
- CryptoApi.cs
- Int64KeyFrameCollection.cs
- ObjectNavigationPropertyMapping.cs
- AttributeCollection.cs
- CrossContextChannel.cs
- BCLDebug.cs
- DefaultValueConverter.cs
- BaseTemplateBuildProvider.cs
- DataReceivedEventArgs.cs
- MissingSatelliteAssemblyException.cs
- JoinSymbol.cs
- DeclaredTypeElementCollection.cs
- OptimizedTemplateContentHelper.cs
- DateTimeConverter.cs
- DeleteIndexBinder.cs
- EnumerableWrapperWeakToStrong.cs
- HttpsChannelFactory.cs
- ParserExtension.cs
- BamlReader.cs
- ColorTransform.cs
- LinkLabel.cs
- InputLanguageProfileNotifySink.cs
- SqlTrackingQuery.cs
- ClassGenerator.cs
- XmlMembersMapping.cs
- BaseCodeDomTreeGenerator.cs
- OneOfScalarConst.cs
- MultipartContentParser.cs
- MenuItemStyle.cs
- KoreanCalendar.cs
- GuidConverter.cs
- ToolCreatedEventArgs.cs
- FormViewInsertedEventArgs.cs
- MetadataFile.cs
- ServiceOperationInvoker.cs
- UserControlParser.cs
- TdsParserSessionPool.cs
- EncoderFallback.cs
- HandlerFactoryWrapper.cs
- ZoneLinkButton.cs
- ControlPropertyNameConverter.cs
- FilteredSchemaElementLookUpTable.cs
- DataGridViewCellStyle.cs
- IdentityReference.cs
- CustomValidator.cs
- DesignParameter.cs
- SpanIndex.cs
- TextElement.cs