Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Threading / ThreadStateException.cs / 1 / ThreadStateException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: ThreadStateException ** ** ** Purpose: An exception class to indicate that the Thread class is in an ** invalid state for the method. ** ** =============================================================================*/ namespace System.Threading { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class ThreadStateException : SystemException { public ThreadStateException() : base(Environment.GetResourceString("Arg_ThreadStateException")) { SetErrorCode(__HResults.COR_E_THREADSTATE); } public ThreadStateException(String message) : base(message) { SetErrorCode(__HResults.COR_E_THREADSTATE); } public ThreadStateException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_THREADSTATE); } protected ThreadStateException(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. // // ==--== /*============================================================================== ** ** Class: ThreadStateException ** ** ** Purpose: An exception class to indicate that the Thread class is in an ** invalid state for the method. ** ** =============================================================================*/ namespace System.Threading { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class ThreadStateException : SystemException { public ThreadStateException() : base(Environment.GetResourceString("Arg_ThreadStateException")) { SetErrorCode(__HResults.COR_E_THREADSTATE); } public ThreadStateException(String message) : base(message) { SetErrorCode(__HResults.COR_E_THREADSTATE); } public ThreadStateException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_THREADSTATE); } protected ThreadStateException(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
- XmlCharCheckingWriter.cs
- ReliableMessagingHelpers.cs
- SQLGuid.cs
- TextDecoration.cs
- TextElementEnumerator.cs
- BuildManagerHost.cs
- ItemsChangedEventArgs.cs
- MouseActionConverter.cs
- Speller.cs
- BindingManagerDataErrorEventArgs.cs
- MenuItemBindingCollection.cs
- PreloadedPackages.cs
- InvalidProgramException.cs
- InputProviderSite.cs
- ObjectSecurityT.cs
- Color.cs
- SqlCaseSimplifier.cs
- RightsManagementEncryptionTransform.cs
- OuterGlowBitmapEffect.cs
- OpenTypeCommon.cs
- Char.cs
- ReferencedCollectionType.cs
- AvTraceFormat.cs
- _Rfc2616CacheValidators.cs
- XmlSchemaException.cs
- InputLangChangeRequestEvent.cs
- NativeMethods.cs
- OrderingQueryOperator.cs
- ContractAdapter.cs
- ZipIOExtraFieldPaddingElement.cs
- OracleBoolean.cs
- SlipBehavior.cs
- DbgUtil.cs
- InputLanguageCollection.cs
- SkipQueryOptionExpression.cs
- WindowsToolbarItemAsMenuItem.cs
- TextAutomationPeer.cs
- ParseHttpDate.cs
- Timer.cs
- TextEditorTables.cs
- ThaiBuddhistCalendar.cs
- LogWriteRestartAreaAsyncResult.cs
- MimeParameterWriter.cs
- DataException.cs
- DefaultDialogButtons.cs
- DataColumnChangeEvent.cs
- MemberInfoSerializationHolder.cs
- _Events.cs
- ObjectAssociationEndMapping.cs
- TextEditorMouse.cs
- SchemaImporterExtension.cs
- AudioBase.cs
- ProfileProvider.cs
- CheckPair.cs
- OdbcPermission.cs
- SessionStateModule.cs
- NavigationWindow.cs
- TextCharacters.cs
- StaticExtension.cs
- LingerOption.cs
- SHA256Managed.cs
- GroupLabel.cs
- QueryResponse.cs
- GridViewColumnCollection.cs
- InstanceCreationEditor.cs
- ClientApiGenerator.cs
- RelationshipSet.cs
- Internal.cs
- ComPlusServiceHost.cs
- DataBindingValueUIHandler.cs
- RecognizedAudio.cs
- ColorTranslator.cs
- shaperfactoryquerycachekey.cs
- SplayTreeNode.cs
- LinqTreeNodeEvaluator.cs
- Polygon.cs
- XPathBinder.cs
- figurelength.cs
- XmlAtomicValue.cs
- SchemaLookupTable.cs
- AnnotationMap.cs
- ListViewDeletedEventArgs.cs
- WindowsToolbarAsMenu.cs
- DSACryptoServiceProvider.cs
- CompatibleIComparer.cs
- SQLSingle.cs
- LocalizableResourceBuilder.cs
- TrackBar.cs
- SqlUnionizer.cs
- PackageRelationship.cs
- Fonts.cs
- LogWriteRestartAreaState.cs
- ObservableDictionary.cs
- TriggerBase.cs
- CodeCompiler.cs
- NavigationPropertyEmitter.cs
- StatusBarPanel.cs
- TTSEngineProxy.cs
- EndpointInfo.cs
- FormsAuthenticationUser.cs