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
- WebPartConnectionsCancelVerb.cs
- WebPartTransformerCollection.cs
- TemplateAction.cs
- TextUtf8RawTextWriter.cs
- XmlQueryOutput.cs
- ParameterElement.cs
- BrowserCapabilitiesFactoryBase.cs
- XmlValidatingReader.cs
- ClientSettings.cs
- BeginStoryboard.cs
- BuildResult.cs
- CodeVariableReferenceExpression.cs
- ScriptResourceHandler.cs
- UIntPtr.cs
- CqlLexerHelpers.cs
- Buffer.cs
- RuntimeArgumentHandle.cs
- DesignerActionUIService.cs
- DrawListViewSubItemEventArgs.cs
- HScrollBar.cs
- DataGridCellClipboardEventArgs.cs
- ContextProperty.cs
- RuntimeConfigLKG.cs
- ActivityCollectionMarkupSerializer.cs
- ProxyOperationRuntime.cs
- ImageFormat.cs
- Overlapped.cs
- TreeNodeEventArgs.cs
- Console.cs
- MsmqIntegrationSecurityElement.cs
- WorkflowViewStateService.cs
- Action.cs
- OracleDataAdapter.cs
- Event.cs
- _SslStream.cs
- CachedTypeface.cs
- ActivityInterfaces.cs
- WebEventCodes.cs
- TimerExtension.cs
- EntityRecordInfo.cs
- CachedBitmap.cs
- TextElement.cs
- IRCollection.cs
- DeviceContext.cs
- HatchBrush.cs
- ControlCollection.cs
- DataGridViewRowCollection.cs
- basenumberconverter.cs
- HttpModuleCollection.cs
- Scheduling.cs
- IResourceProvider.cs
- WebContentFormatHelper.cs
- AnnotationAdorner.cs
- FileInfo.cs
- GenericFlowSwitchHelper.cs
- RawStylusSystemGestureInputReport.cs
- XmlBufferReader.cs
- EqualityComparer.cs
- InternalConfigConfigurationFactory.cs
- CompilationPass2Task.cs
- CodeDirectoryCompiler.cs
- WebBaseEventKeyComparer.cs
- RtType.cs
- Rotation3D.cs
- ApplicationServiceHelper.cs
- DataGridViewCellValueEventArgs.cs
- ReverseInheritProperty.cs
- ManualResetEventSlim.cs
- Helper.cs
- DataKeyCollection.cs
- PersonalizablePropertyEntry.cs
- CellTreeNode.cs
- TimeoutException.cs
- ImageCodecInfo.cs
- StrongNameKeyPair.cs
- Compiler.cs
- AstNode.cs
- XamlClipboardData.cs
- TextRunCacheImp.cs
- WrapPanel.cs
- JsonDeserializer.cs
- LayoutTable.cs
- FileLogRecordHeader.cs
- SoapInteropTypes.cs
- AsymmetricAlgorithm.cs
- ExpressionTextBox.xaml.cs
- AdornerDecorator.cs
- SQLStringStorage.cs
- LinkTarget.cs
- TypeLibConverter.cs
- RouteItem.cs
- FileSystemEventArgs.cs
- XamlVector3DCollectionSerializer.cs
- ColorAnimationUsingKeyFrames.cs
- Activity.cs
- LiteralControl.cs
- unitconverter.cs
- Pen.cs
- ResourceDescriptionAttribute.cs
- WithStatement.cs