Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DbConnectionStringCommon.cs
- HttpApplication.cs
- documentsequencetextview.cs
- ComponentGuaranteesAttribute.cs
- FontInfo.cs
- GridViewItemAutomationPeer.cs
- X509InitiatorCertificateClientElement.cs
- Point3DIndependentAnimationStorage.cs
- BitmapEffectInput.cs
- PreservationFileReader.cs
- DataGridViewCellPaintingEventArgs.cs
- AssemblyFilter.cs
- DocumentViewerHelper.cs
- DbConvert.cs
- MetadataItemEmitter.cs
- HwndSourceKeyboardInputSite.cs
- TemplateField.cs
- ObjectConverter.cs
- OleDbRowUpdatingEvent.cs
- ViewPort3D.cs
- CompilationSection.cs
- __TransparentProxy.cs
- TerminatorSinks.cs
- HttpModulesSection.cs
- Binding.cs
- StopStoryboard.cs
- DataGridViewCellValueEventArgs.cs
- DummyDataSource.cs
- figurelengthconverter.cs
- BuildProviderCollection.cs
- Matrix.cs
- DelegatingMessage.cs
- DataRowView.cs
- IgnoreSection.cs
- SizeAnimationClockResource.cs
- WebEncodingValidatorAttribute.cs
- ObjectDataSourceDisposingEventArgs.cs
- LogLogRecordEnumerator.cs
- AutomationElementIdentifiers.cs
- SQLCharsStorage.cs
- SchemeSettingElementCollection.cs
- ImageAttributes.cs
- FamilyTypefaceCollection.cs
- ScrollEventArgs.cs
- PropertyValidationContext.cs
- ApplicationInfo.cs
- ProfessionalColorTable.cs
- PropertyChangeTracker.cs
- Focus.cs
- DrawListViewColumnHeaderEventArgs.cs
- AmbientLight.cs
- InputBinder.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- XPathQilFactory.cs
- WCFBuildProvider.cs
- XmlSchemaSimpleType.cs
- safelinkcollection.cs
- ExternalCalls.cs
- SortDescription.cs
- WinEventQueueItem.cs
- Environment.cs
- ScrollChrome.cs
- SettingsBase.cs
- DeclarationUpdate.cs
- HighlightComponent.cs
- AxHostDesigner.cs
- PackageFilter.cs
- EntityDataSourceContextCreatedEventArgs.cs
- PrivilegedConfigurationManager.cs
- AutomationPatternInfo.cs
- WinFormsSpinner.cs
- IODescriptionAttribute.cs
- base64Transforms.cs
- Win32Native.cs
- XmlEntityReference.cs
- TypeDelegator.cs
- XsltContext.cs
- PieceNameHelper.cs
- LayoutEngine.cs
- TypeDelegator.cs
- DataObjectFieldAttribute.cs
- DataServiceKeyAttribute.cs
- ZeroOpNode.cs
- SmiTypedGetterSetter.cs
- WebConfigurationFileMap.cs
- AnnotationResourceChangedEventArgs.cs
- DeviceContext.cs
- Int32AnimationUsingKeyFrames.cs
- ScrollViewerAutomationPeer.cs
- Pool.cs
- ScriptModule.cs
- AffineTransform3D.cs
- BooleanConverter.cs
- Rotation3DAnimation.cs
- SchemaMapping.cs
- ContainerUIElement3D.cs
- DbParameterHelper.cs
- IQueryable.cs
- GcSettings.cs
- FileDetails.cs