Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- QilExpression.cs
- ActivityUtilities.cs
- DecoratedNameAttribute.cs
- PackUriHelper.cs
- SiteMapNode.cs
- ParsedAttributeCollection.cs
- Helpers.cs
- ContextProperty.cs
- SqlDelegatedTransaction.cs
- ClientProtocol.cs
- ResourceProperty.cs
- TextDecorationCollectionConverter.cs
- WmlTextBoxAdapter.cs
- DSASignatureFormatter.cs
- TreeNodeEventArgs.cs
- ConnectionPointCookie.cs
- AutomationPatternInfo.cs
- AccessControlList.cs
- NavigationProgressEventArgs.cs
- EntityDataSourceValidationException.cs
- XsltLoader.cs
- BamlWriter.cs
- TextOutput.cs
- LinqDataSourceDisposeEventArgs.cs
- DataSourceBooleanViewSchemaConverter.cs
- HuffmanTree.cs
- ControlType.cs
- CommandField.cs
- XmlSchemaDocumentation.cs
- WorkflowControlClient.cs
- RangeValuePatternIdentifiers.cs
- GridEntry.cs
- ChooseAction.cs
- ResXBuildProvider.cs
- ComponentDesigner.cs
- _UncName.cs
- WindowsClientCredential.cs
- SecurityTokenParameters.cs
- FillErrorEventArgs.cs
- ValueTable.cs
- SchemaImporterExtension.cs
- EntityContainerAssociationSet.cs
- Matrix.cs
- Int32CAMarshaler.cs
- TypeLoadException.cs
- LoginUtil.cs
- AssemblyNameUtility.cs
- Model3DCollection.cs
- SHA1Managed.cs
- FontWeight.cs
- Regex.cs
- SystemUnicastIPAddressInformation.cs
- CreateUserWizardStep.cs
- FormViewPagerRow.cs
- XmlAutoDetectWriter.cs
- CodeExporter.cs
- DataGridCell.cs
- arc.cs
- RuntimeConfig.cs
- Operand.cs
- CommandManager.cs
- PrivilegeNotHeldException.cs
- SkewTransform.cs
- BuilderElements.cs
- TableCellAutomationPeer.cs
- WebService.cs
- ValidatorCompatibilityHelper.cs
- CodeDomLocalizationProvider.cs
- ErasingStroke.cs
- ObjectDataSourceView.cs
- TypedTableBaseExtensions.cs
- CircleHotSpot.cs
- NoPersistScope.cs
- MethodAccessException.cs
- JournalEntry.cs
- CounterSet.cs
- AnnotationObservableCollection.cs
- RotateTransform3D.cs
- InstanceValue.cs
- DeviceContexts.cs
- RoleManagerEventArgs.cs
- Debug.cs
- ColorContext.cs
- HebrewNumber.cs
- DesignerGenericWebPart.cs
- RoutingUtilities.cs
- OpenTypeLayout.cs
- SourceElementsCollection.cs
- SplineKeyFrames.cs
- XmlDomTextWriter.cs
- CodeGotoStatement.cs
- MouseButton.cs
- StyleConverter.cs
- ScriptMethodAttribute.cs
- Int32Rect.cs
- EqualityComparer.cs
- RowToFieldTransformer.cs
- Tokenizer.cs
- NativeObjectSecurity.cs
- ElementMarkupObject.cs