Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- UInt32.cs
- SemanticAnalyzer.cs
- StartUpEventArgs.cs
- ConnectivityStatus.cs
- DynamicControlParameter.cs
- InternalPolicyElement.cs
- CoreSwitches.cs
- MutableAssemblyCacheEntry.cs
- FollowerQueueCreator.cs
- FixedSOMElement.cs
- HandleCollector.cs
- CodePageUtils.cs
- FontStretches.cs
- FontFaceLayoutInfo.cs
- HandlerFactoryWrapper.cs
- codemethodreferenceexpression.cs
- DocumentAutomationPeer.cs
- UICuesEvent.cs
- SpnegoTokenProvider.cs
- CompoundFileStorageReference.cs
- MobileContainerDesigner.cs
- FixedTextContainer.cs
- HttpClientCertificate.cs
- XsltConvert.cs
- ObjectDataSource.cs
- OlePropertyStructs.cs
- BrowserCapabilitiesCompiler.cs
- MetadataProperty.cs
- XmlLangPropertyAttribute.cs
- SharedPersonalizationStateInfo.cs
- EntityDataSourceDesigner.cs
- XmlReader.cs
- SimpleTypeResolver.cs
- _DynamicWinsockMethods.cs
- ListBase.cs
- WSSecureConversation.cs
- ReversePositionQuery.cs
- InternalMappingException.cs
- SafeFreeMibTable.cs
- CodeRegionDirective.cs
- JsonCollectionDataContract.cs
- HtmlInputRadioButton.cs
- IssuanceLicense.cs
- Operand.cs
- EventPrivateKey.cs
- XmlValidatingReader.cs
- VectorAnimation.cs
- SettingsPropertyCollection.cs
- FieldMetadata.cs
- HideDisabledControlAdapter.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ViewGenResults.cs
- SecureStringHasher.cs
- WindowsPrincipal.cs
- CodeSubDirectory.cs
- QueryValue.cs
- ReliableOutputSessionChannel.cs
- Vector3dCollection.cs
- DataSetMappper.cs
- ValidationPropertyAttribute.cs
- UmAlQuraCalendar.cs
- SecurityIdentifierConverter.cs
- BookmarkEventArgs.cs
- ActivityValidator.cs
- SHA1CryptoServiceProvider.cs
- ContentType.cs
- WindowsButton.cs
- PointHitTestParameters.cs
- HostingEnvironment.cs
- FormsAuthenticationModule.cs
- ElementsClipboardData.cs
- ColumnResult.cs
- AnonymousIdentificationModule.cs
- GetIndexBinder.cs
- InheritanceContextHelper.cs
- ProcessModuleCollection.cs
- ThreadExceptionDialog.cs
- PointLight.cs
- DataGridViewBindingCompleteEventArgs.cs
- AttachmentService.cs
- IPipelineRuntime.cs
- streamingZipPartStream.cs
- BeginSelectCardRequest.cs
- ThemeDictionaryExtension.cs
- Size.cs
- IndexingContentUnit.cs
- MobileListItem.cs
- ImageFormatConverter.cs
- CollectionViewGroupRoot.cs
- NetworkInformationPermission.cs
- PipeConnection.cs
- Optimizer.cs
- XslTransform.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- Handle.cs
- CookieProtection.cs
- TemplatedAdorner.cs
- PanelContainerDesigner.cs
- CompiledQuery.cs
- LongPath.cs