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
- Point.cs
- BasicSecurityProfileVersion.cs
- LineProperties.cs
- SessionIDManager.cs
- FileUtil.cs
- Matrix.cs
- TextCompositionEventArgs.cs
- Filter.cs
- mactripleDES.cs
- BorderGapMaskConverter.cs
- DefaultHttpHandler.cs
- SystemDiagnosticsSection.cs
- DataObjectCopyingEventArgs.cs
- WindowsStatusBar.cs
- InvalidWorkflowException.cs
- InputProcessorProfiles.cs
- ProfileProvider.cs
- regiisutil.cs
- HttpServerUtilityWrapper.cs
- OAVariantLib.cs
- CodeEntryPointMethod.cs
- InvalidOleVariantTypeException.cs
- StaticSiteMapProvider.cs
- MemoryMappedViewStream.cs
- AnonymousIdentificationModule.cs
- EvidenceTypeDescriptor.cs
- ScrollBarRenderer.cs
- ComponentResourceKey.cs
- DispatcherExceptionFilterEventArgs.cs
- AutomationAttributeInfo.cs
- TransformerInfoCollection.cs
- Constants.cs
- HiddenField.cs
- CompoundFileReference.cs
- ThicknessConverter.cs
- BamlVersionHeader.cs
- XmlSchemaValidator.cs
- XslNumber.cs
- DoubleSumAggregationOperator.cs
- AssemblyInfo.cs
- ComEventsHelper.cs
- MarginsConverter.cs
- OSEnvironmentHelper.cs
- ExpressionBuilder.cs
- ASCIIEncoding.cs
- EncoderFallback.cs
- CodeFieldReferenceExpression.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- CodeArgumentReferenceExpression.cs
- COM2IDispatchConverter.cs
- _ListenerRequestStream.cs
- _emptywebproxy.cs
- ModulesEntry.cs
- OdbcInfoMessageEvent.cs
- ListViewGroupCollectionEditor.cs
- UIAgentRequest.cs
- Variable.cs
- WindowsPen.cs
- LeftCellWrapper.cs
- StringStorage.cs
- OracleConnectionStringBuilder.cs
- ETagAttribute.cs
- MatrixValueSerializer.cs
- RuntimeConfig.cs
- WindowsRichEditRange.cs
- DBSchemaRow.cs
- Regex.cs
- LayoutEngine.cs
- Errors.cs
- PenThreadPool.cs
- MetaType.cs
- XmlBoundElement.cs
- ProxyWebPart.cs
- OracleParameter.cs
- DataControlImageButton.cs
- ParserContext.cs
- BitmapEffectDrawingContextState.cs
- DataViewSetting.cs
- RulePatternOps.cs
- PeerApplicationLaunchInfo.cs
- TextProperties.cs
- DataGridViewCellCollection.cs
- InvalidComObjectException.cs
- ResourceContainer.cs
- OleDbStruct.cs
- SpeechEvent.cs
- SpellerHighlightLayer.cs
- WebPartTransformerAttribute.cs
- VirtualPathProvider.cs
- DragStartedEventArgs.cs
- XmlSignatureManifest.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- Deserializer.cs
- MultiBindingExpression.cs
- ClientScriptManager.cs
- OleDbRowUpdatingEvent.cs
- EventHandlersDesigner.cs
- HwndSourceKeyboardInputSite.cs
- TokenizerHelper.cs
- SqlCacheDependencySection.cs