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
- StylusPointPropertyInfoDefaults.cs
- TypeLoadException.cs
- GenerateScriptTypeAttribute.cs
- MsmqChannelFactoryBase.cs
- SiteMapNodeItemEventArgs.cs
- WindowsToolbarItemAsMenuItem.cs
- SiteMapNodeItem.cs
- XamlToRtfWriter.cs
- RootBrowserWindowProxy.cs
- TextBoxDesigner.cs
- WorkflowTimerService.cs
- DesignerValidatorAdapter.cs
- ObjectSecurity.cs
- TrustSection.cs
- LayoutTable.cs
- CheckBoxStandardAdapter.cs
- VariableQuery.cs
- HwndMouseInputProvider.cs
- HtmlTernaryTree.cs
- Compilation.cs
- ListViewCancelEventArgs.cs
- Expression.cs
- TreeBuilderXamlTranslator.cs
- KnowledgeBase.cs
- ScrollChrome.cs
- RowTypePropertyElement.cs
- ObjectStateManagerMetadata.cs
- FigureParagraph.cs
- HttpHandlerAction.cs
- IHttpResponseInternal.cs
- ZoneButton.cs
- GridItem.cs
- DynamicDataManager.cs
- SelectionService.cs
- invalidudtexception.cs
- ButtonBase.cs
- ListViewItem.cs
- PackageFilter.cs
- StringSorter.cs
- ColorAnimation.cs
- HwndSubclass.cs
- ReaderWriterLockWrapper.cs
- EntityUtil.cs
- DocumentXPathNavigator.cs
- ManualResetEvent.cs
- PeerApplicationLaunchInfo.cs
- securitycriticaldataformultiplegetandset.cs
- XmlRawWriter.cs
- SR.cs
- SupportsEventValidationAttribute.cs
- Positioning.cs
- ErrorWebPart.cs
- WSHttpBindingElement.cs
- ConfigurationElementProperty.cs
- Literal.cs
- ContextProperty.cs
- ResourceDictionaryCollection.cs
- StyleXamlTreeBuilder.cs
- RouteCollection.cs
- CollectionEditor.cs
- RecognizedWordUnit.cs
- HandlerWithFactory.cs
- BinaryParser.cs
- MultipleFilterMatchesException.cs
- DataGridToolTip.cs
- ResourceReferenceKeyNotFoundException.cs
- ContextMenuStripActionList.cs
- HtmlTernaryTree.cs
- WSTrustDec2005.cs
- CodeCatchClause.cs
- UpdateTranslator.cs
- StackOverflowException.cs
- ThicknessAnimationBase.cs
- ImpersonationContext.cs
- ChangePassword.cs
- _HelperAsyncResults.cs
- ConstraintStruct.cs
- ScriptControlDescriptor.cs
- OperationFormatStyle.cs
- TransformDescriptor.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- BridgeDataRecord.cs
- LinkArea.cs
- DataGridPageChangedEventArgs.cs
- HierarchicalDataSourceControl.cs
- CapabilitiesState.cs
- SqlLiftIndependentRowExpressions.cs
- RequestQueue.cs
- ScriptHandlerFactory.cs
- XmlQueryRuntime.cs
- FontSizeConverter.cs
- DynamicPropertyReader.cs
- SendMessageRecord.cs
- ActiveXHost.cs
- FilteredDataSetHelper.cs
- BitmapCacheBrush.cs
- ComplexPropertyEntry.cs
- CryptographicAttribute.cs
- RPIdentityRequirement.cs
- AttributeSetAction.cs