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
- PlacementWorkspace.cs
- ServiceContractListItem.cs
- HtmlHistory.cs
- QueryContinueDragEventArgs.cs
- EnglishPluralizationService.cs
- ConditionBrowserDialog.cs
- EvidenceBase.cs
- ProcessHostFactoryHelper.cs
- ScriptManager.cs
- ActivityAction.cs
- ActivityDesignerHelper.cs
- TimeSpanValidator.cs
- TreeViewImageKeyConverter.cs
- DataGridViewCellParsingEventArgs.cs
- SecurityHelper.cs
- WebPartVerb.cs
- ToolStripStatusLabel.cs
- XmlStreamStore.cs
- IdentityReference.cs
- Evidence.cs
- WebPartEditorCancelVerb.cs
- FlowDocumentView.cs
- AssemblyCollection.cs
- FrameworkElement.cs
- HttpNamespaceReservationInstallComponent.cs
- ServiceManager.cs
- DBSqlParserColumn.cs
- ProfileManager.cs
- Buffer.cs
- BoundColumn.cs
- NamedServiceModelExtensionCollectionElement.cs
- ButtonFlatAdapter.cs
- EntitySetBase.cs
- MemoryStream.cs
- NetTcpSecurityElement.cs
- DynamicResourceExtensionConverter.cs
- ConfigurationFileMap.cs
- ValidationService.cs
- Object.cs
- FillRuleValidation.cs
- XPathAncestorQuery.cs
- CodeTypeOfExpression.cs
- MatrixCamera.cs
- HandlerBase.cs
- PieceNameHelper.cs
- SettingsContext.cs
- PageContentCollection.cs
- SamlAudienceRestrictionCondition.cs
- EFTableProvider.cs
- OperatorExpressions.cs
- ListBoxItemAutomationPeer.cs
- Stack.cs
- TakeQueryOptionExpression.cs
- ConnectionConsumerAttribute.cs
- DictionaryManager.cs
- BamlRecordHelper.cs
- ConfigurationException.cs
- AliasExpr.cs
- SessionIDManager.cs
- ASCIIEncoding.cs
- CriticalExceptions.cs
- CoreChannel.cs
- ToolStripManager.cs
- AspNetHostingPermission.cs
- LabelAutomationPeer.cs
- OpenFileDialog.cs
- DataGridViewCheckBoxCell.cs
- VariableExpressionConverter.cs
- PasswordPropertyTextAttribute.cs
- DocumentViewer.cs
- WhiteSpaceTrimStringConverter.cs
- ExtensibleClassFactory.cs
- QilInvoke.cs
- ItemsPresenter.cs
- SqlDataSourceFilteringEventArgs.cs
- TextWriter.cs
- Typography.cs
- TextServicesDisplayAttributePropertyRanges.cs
- PeerNearMe.cs
- XmlSchemaSequence.cs
- OAVariantLib.cs
- ZeroOpNode.cs
- PropertyPathConverter.cs
- DataGridViewToolTip.cs
- WindowsScrollBarBits.cs
- PipelineComponent.cs
- WebErrorHandler.cs
- WindowsFormsSynchronizationContext.cs
- Buffer.cs
- VisualTreeUtils.cs
- TreeNodeMouseHoverEvent.cs
- EventDescriptor.cs
- AuthenticationModulesSection.cs
- securitycriticaldataClass.cs
- XsdBuildProvider.cs
- TextFormatter.cs
- Exceptions.cs
- Version.cs
- SafePEFileHandle.cs
- AddInController.cs