Code:
/ DotNET / DotNET / 8.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
- MetadataAssemblyHelper.cs
- XsdCachingReader.cs
- TextRangeEditTables.cs
- RotateTransform.cs
- ScanQueryOperator.cs
- assemblycache.cs
- PeerNameRecordCollection.cs
- TextRangeEditLists.cs
- SQLStringStorage.cs
- MimeTypePropertyAttribute.cs
- OpenFileDialog.cs
- UrlPath.cs
- WindowsStartMenu.cs
- EpmTargetTree.cs
- SevenBitStream.cs
- DataBoundLiteralControl.cs
- CustomTypeDescriptor.cs
- COMException.cs
- EntitySqlQueryCacheEntry.cs
- TransactionalPackage.cs
- AppliesToBehaviorDecisionTable.cs
- PropertyToken.cs
- HighlightComponent.cs
- BaseValidator.cs
- PackWebRequest.cs
- PersonalizationStateInfo.cs
- StdValidatorsAndConverters.cs
- SqlTriggerContext.cs
- GridViewColumnCollection.cs
- FileUtil.cs
- CompilationUnit.cs
- Blend.cs
- LoginCancelEventArgs.cs
- OpenTypeLayoutCache.cs
- CodeMemberEvent.cs
- DataMemberAttribute.cs
- grammarelement.cs
- autovalidator.cs
- PopupControlService.cs
- WorkflowServiceHost.cs
- SpecialNameAttribute.cs
- IsolationInterop.cs
- IResourceProvider.cs
- MasterPageParser.cs
- DiagnosticTraceSource.cs
- ConditionCollection.cs
- KeyedByTypeCollection.cs
- HMACRIPEMD160.cs
- QilName.cs
- Brush.cs
- Calendar.cs
- ReflectEventDescriptor.cs
- SaveFileDialog.cs
- ControlHelper.cs
- PasswordRecovery.cs
- WebPartDisplayModeEventArgs.cs
- CompressStream.cs
- UnicodeEncoding.cs
- GenericAuthenticationEventArgs.cs
- StringUtil.cs
- MutexSecurity.cs
- MimeObjectFactory.cs
- DependencyPropertyDescriptor.cs
- IxmlLineInfo.cs
- ADMembershipProvider.cs
- InputLanguage.cs
- FamilyCollection.cs
- OneToOneMappingSerializer.cs
- JoinElimination.cs
- LongTypeConverter.cs
- EncodingNLS.cs
- AsyncResult.cs
- TreePrinter.cs
- DictionaryContent.cs
- AssemblyInfo.cs
- PasswordBox.cs
- RequestCacheValidator.cs
- _ScatterGatherBuffers.cs
- SimpleExpression.cs
- AddInControllerImpl.cs
- OpenFileDialog.cs
- MenuAdapter.cs
- PropertyEmitter.cs
- UnSafeCharBuffer.cs
- HTMLTagNameToTypeMapper.cs
- PageContentAsyncResult.cs
- EntityDataSourceDesignerHelper.cs
- Privilege.cs
- TypeConvertions.cs
- TerminatorSinks.cs
- CookieProtection.cs
- FlowDocumentPaginator.cs
- SystemWebSectionGroup.cs
- WSFederationHttpBinding.cs
- DrawingContextWalker.cs
- SchemaLookupTable.cs
- CustomAttribute.cs
- ProcessRequestArgs.cs
- Clause.cs
- MenuItemCollection.cs