Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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
- XslAst.cs
- LocalizedNameDescriptionPair.cs
- PaginationProgressEventArgs.cs
- DataGridViewComboBoxCell.cs
- HtmlEncodedRawTextWriter.cs
- FreezableCollection.cs
- FileLogRecordEnumerator.cs
- ConnectionConsumerAttribute.cs
- TextRunTypographyProperties.cs
- CapabilitiesPattern.cs
- StringUtil.cs
- TextFormatterHost.cs
- StdValidatorsAndConverters.cs
- ContentElement.cs
- ActivityUtilities.cs
- CngProvider.cs
- TraceUtility.cs
- PropertyChangeTracker.cs
- DataBindingExpressionBuilder.cs
- TemplateFactory.cs
- ExpressionBuilderCollection.cs
- FixedSOMElement.cs
- DesignerAutoFormatStyle.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- ReaderWriterLock.cs
- DownloadProgressEventArgs.cs
- ButtonFieldBase.cs
- CLRBindingWorker.cs
- XmlUtilWriter.cs
- Mouse.cs
- ADMembershipUser.cs
- WebPartManager.cs
- ChannelManager.cs
- StaticContext.cs
- SecurityTokenSerializer.cs
- GenericsInstances.cs
- XmlDocumentFragment.cs
- Point3DAnimationUsingKeyFrames.cs
- RegexNode.cs
- X509Utils.cs
- XMLSchema.cs
- WebPartHeaderCloseVerb.cs
- Authorization.cs
- BitmapEffectDrawingContent.cs
- HostAdapter.cs
- XmlFormatWriterGenerator.cs
- EventPrivateKey.cs
- CalloutQueueItem.cs
- KeyFrames.cs
- AnnotationAuthorChangedEventArgs.cs
- NetworkInformationException.cs
- ItemChangedEventArgs.cs
- SchemaDeclBase.cs
- ControlBuilder.cs
- Vertex.cs
- CalendarButtonAutomationPeer.cs
- DataSourceControl.cs
- SaveRecipientRequest.cs
- ServiceDescriptionImporter.cs
- TrustLevel.cs
- PathFigureCollection.cs
- ExpressionBuilder.cs
- TextParaClient.cs
- RoutedEventConverter.cs
- HttpGetClientProtocol.cs
- CodeAttachEventStatement.cs
- PartBasedPackageProperties.cs
- AuthenticationManager.cs
- CodeSubDirectoriesCollection.cs
- Array.cs
- SchemaNamespaceManager.cs
- PictureBox.cs
- SubstitutionList.cs
- DesignerForm.cs
- SharedPerformanceCounter.cs
- EnumBuilder.cs
- WebProxyScriptElement.cs
- ReferenceSchema.cs
- WebServiceEnumData.cs
- _Events.cs
- RelatedImageListAttribute.cs
- COSERVERINFO.cs
- XPathChildIterator.cs
- ZipIOExtraFieldZip64Element.cs
- PagedDataSource.cs
- ToolStrip.cs
- CodeGeneratorOptions.cs
- ValueUnavailableException.cs
- ProviderManager.cs
- XmlReader.cs
- DesignSurfaceServiceContainer.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- EventDescriptor.cs
- Dump.cs
- GridViewUpdatedEventArgs.cs
- Variant.cs
- StylusOverProperty.cs
- FormattedTextSymbols.cs
- DataGridViewCellStyleEditor.cs
- CatalogZone.cs