Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / InvalidAsynchronousStateException.cs / 1305376 / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DesignerForm.cs
- PrintDocument.cs
- SqlGatherProducedAliases.cs
- XmlExtensionFunction.cs
- CompiledAction.cs
- XmlArrayAttribute.cs
- IdleTimeoutMonitor.cs
- OutOfMemoryException.cs
- RequestCachePolicyConverter.cs
- Pair.cs
- QuaternionRotation3D.cs
- SoapElementAttribute.cs
- ZipFileInfoCollection.cs
- PublisherIdentityPermission.cs
- LocalIdKeyIdentifierClause.cs
- PipelineModuleStepContainer.cs
- TypeInfo.cs
- BitmapFrameDecode.cs
- CFGGrammar.cs
- SymmetricKeyWrap.cs
- BasicCellRelation.cs
- DataSvcMapFile.cs
- Composition.cs
- FrugalMap.cs
- SchemaImporter.cs
- Point3DAnimationBase.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ColumnHeader.cs
- BuildManager.cs
- OletxTransactionManager.cs
- Resources.Designer.cs
- ListDictionary.cs
- AutomationElementCollection.cs
- processwaithandle.cs
- ReceiveActivityDesigner.cs
- ListBoxItemAutomationPeer.cs
- XmlNullResolver.cs
- SystemThemeKey.cs
- RegexStringValidatorAttribute.cs
- TextSegment.cs
- Figure.cs
- FrameworkReadOnlyPropertyMetadata.cs
- DodSequenceMerge.cs
- RangeContentEnumerator.cs
- ContravarianceAdapter.cs
- SafeEventLogWriteHandle.cs
- autovalidator.cs
- messageonlyhwndwrapper.cs
- ExceptionValidationRule.cs
- ProcessHostFactoryHelper.cs
- FocusChangedEventArgs.cs
- mediaclock.cs
- MachineKeySection.cs
- TextEffect.cs
- CodeGenerator.cs
- Misc.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- XmlDataDocument.cs
- FileStream.cs
- BuildProvider.cs
- RequestUriProcessor.cs
- XmlBinaryReader.cs
- DesignSurfaceServiceContainer.cs
- PathSegment.cs
- ExportException.cs
- RenamedEventArgs.cs
- BoolExpression.cs
- DashStyle.cs
- ClaimComparer.cs
- ConversionValidationRule.cs
- DeflateStream.cs
- CreateUserWizardDesigner.cs
- SQLDecimalStorage.cs
- CheckoutException.cs
- HttpListenerRequestTraceRecord.cs
- EventManager.cs
- RadialGradientBrush.cs
- NodeFunctions.cs
- SessionEndingCancelEventArgs.cs
- DeobfuscatingStream.cs
- AttributeConverter.cs
- SystemIPv6InterfaceProperties.cs
- FormsAuthenticationModule.cs
- EndpointIdentityConverter.cs
- CodeIdentifier.cs
- SchemaNames.cs
- CallbackCorrelationInitializer.cs
- DetailsViewRow.cs
- RtfNavigator.cs
- InfiniteTimeSpanConverter.cs
- HuffmanTree.cs
- Bits.cs
- BrowserDefinitionCollection.cs
- basenumberconverter.cs
- EntityDataSourceSelectingEventArgs.cs
- DirectoryNotFoundException.cs
- MdbDataFileEditor.cs
- FacetChecker.cs
- BorderGapMaskConverter.cs
- CharKeyFrameCollection.cs