Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- BrowserCapabilitiesFactoryBase.cs
- ExtenderProviderService.cs
- DocumentViewerAutomationPeer.cs
- Transform3DGroup.cs
- XmlDigitalSignatureProcessor.cs
- IndentedTextWriter.cs
- propertytag.cs
- SiteMapProvider.cs
- ActivationArguments.cs
- BlobPersonalizationState.cs
- DataGridViewCellStyleChangedEventArgs.cs
- IndexedString.cs
- MetadataUtil.cs
- SchemaHelper.cs
- TextAnchor.cs
- DirectoryObjectSecurity.cs
- SizeAnimationBase.cs
- DetailsViewRow.cs
- EventDriven.cs
- InkCanvas.cs
- QueryCacheManager.cs
- BulletDecorator.cs
- DataServiceHostFactory.cs
- WrappedIUnknown.cs
- ViewPort3D.cs
- XmlC14NWriter.cs
- newinstructionaction.cs
- GridEntry.cs
- StrokeNodeOperations.cs
- ParagraphResult.cs
- SchemaType.cs
- StoreItemCollection.Loader.cs
- CompiledWorkflowDefinitionContext.cs
- ChildTable.cs
- AutoResetEvent.cs
- EditorPartCollection.cs
- ScriptReferenceBase.cs
- CodeConstructor.cs
- ServiceAuthorizationElement.cs
- CompositeActivityValidator.cs
- EasingQuaternionKeyFrame.cs
- StringCollection.cs
- XamlTypeMapperSchemaContext.cs
- DbProviderFactoriesConfigurationHandler.cs
- filewebresponse.cs
- XmlQuerySequence.cs
- TreeNode.cs
- Matrix3D.cs
- XamlVector3DCollectionSerializer.cs
- Message.cs
- VideoDrawing.cs
- IProvider.cs
- ExpressionPrefixAttribute.cs
- webeventbuffer.cs
- RelationshipDetailsRow.cs
- PersonalizationStateInfoCollection.cs
- WebServiceEnumData.cs
- MetadataArtifactLoaderCompositeFile.cs
- ProxyElement.cs
- CompleteWizardStep.cs
- TransactionFlowOption.cs
- MoveSizeWinEventHandler.cs
- ProjectionPath.cs
- VerticalAlignConverter.cs
- QuaternionAnimationBase.cs
- BidOverLoads.cs
- BitmapDownload.cs
- BindUriHelper.cs
- EventManager.cs
- MatrixAnimationUsingPath.cs
- DbProviderServices.cs
- SqlCommandBuilder.cs
- Query.cs
- PageCatalogPart.cs
- WithParamAction.cs
- StateMachineDesignerPaint.cs
- MailSettingsSection.cs
- DefaultWorkflowLoaderService.cs
- VerticalAlignConverter.cs
- CellIdBoolean.cs
- BrushMappingModeValidation.cs
- HtmlTernaryTree.cs
- BufferedStream.cs
- HtmlMobileTextWriter.cs
- ComplexType.cs
- UrlMapping.cs
- wgx_render.cs
- ExpressionLink.cs
- SqlConnectionHelper.cs
- uribuilder.cs
- ButtonChrome.cs
- SafeSerializationManager.cs
- GridItemProviderWrapper.cs
- TripleDESCryptoServiceProvider.cs
- WindowVisualStateTracker.cs
- DoubleLink.cs
- HuffmanTree.cs
- BidOverLoads.cs
- DbInsertCommandTree.cs
- DefaultPerformanceCounters.cs