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
- Setter.cs
- ConfigUtil.cs
- DataColumnMapping.cs
- TextTreeInsertUndoUnit.cs
- FileDialogCustomPlace.cs
- AuthenticateEventArgs.cs
- AnonymousIdentificationSection.cs
- HttpListenerRequest.cs
- RSACryptoServiceProvider.cs
- Metafile.cs
- XmlAggregates.cs
- DragEventArgs.cs
- CloudCollection.cs
- EventPropertyMap.cs
- SeekStoryboard.cs
- WsdlBuildProvider.cs
- SplineKeyFrames.cs
- CodeIdentifiers.cs
- WebPermission.cs
- ACE.cs
- ReceiveSecurityHeaderElementManager.cs
- RoleService.cs
- StringCollection.cs
- CollaborationHelperFunctions.cs
- WCFModelStrings.Designer.cs
- TransferRequestHandler.cs
- WebServiceReceiveDesigner.cs
- FileLogRecordEnumerator.cs
- formatter.cs
- DetailsViewPageEventArgs.cs
- HtmlElementCollection.cs
- CompensatableTransactionScopeActivity.cs
- IisTraceListener.cs
- SessionStateModule.cs
- TrueReadOnlyCollection.cs
- XmlEncoding.cs
- DbParameterCollection.cs
- SharedPersonalizationStateInfo.cs
- Bitmap.cs
- DetailsView.cs
- XmlReader.cs
- DefaultEventAttribute.cs
- ReferentialConstraint.cs
- ToolStripContentPanel.cs
- TraceHandlerErrorFormatter.cs
- Header.cs
- MailMessage.cs
- DataObjectMethodAttribute.cs
- DefaultEventAttribute.cs
- PrintEvent.cs
- SchemaDeclBase.cs
- BindingExpressionBase.cs
- WindowsSpinner.cs
- OleDbCommandBuilder.cs
- ICspAsymmetricAlgorithm.cs
- SelectionProcessor.cs
- WebPartManagerInternals.cs
- RadioButtonList.cs
- altserialization.cs
- ResourceType.cs
- _NestedSingleAsyncResult.cs
- ResourceDisplayNameAttribute.cs
- ParentControlDesigner.cs
- VectorCollection.cs
- WindowsRebar.cs
- SQLInt32.cs
- Base64Encoder.cs
- SelectionWordBreaker.cs
- OdbcParameterCollection.cs
- CodeIndexerExpression.cs
- WebBrowsableAttribute.cs
- StylusPointPropertyUnit.cs
- SupportingTokenChannel.cs
- ConfigurationException.cs
- RouteItem.cs
- WebPartUserCapability.cs
- EntityCollection.cs
- ToolBar.cs
- OdbcConnection.cs
- TextFormatterHost.cs
- TraceHwndHost.cs
- SafeBitVector32.cs
- FontDifferentiator.cs
- FixedPage.cs
- SystemIPInterfaceStatistics.cs
- Object.cs
- DiagnosticsElement.cs
- TreeNodeBinding.cs
- DbExpressionVisitor.cs
- Vector3DConverter.cs
- SystemFonts.cs
- DynamicActivityTypeDescriptor.cs
- Vector3DCollectionConverter.cs
- ReadOnlyCollection.cs
- RootDesignerSerializerAttribute.cs
- SecurityManager.cs
- UserMapPath.cs
- DrawListViewSubItemEventArgs.cs
- EntityDataSourceSelectedEventArgs.cs
- FormattedTextSymbols.cs