Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HttpWriter.cs
- ExtensionSimplifierMarkupObject.cs
- CodeStatement.cs
- EventLogEntryCollection.cs
- CustomLineCap.cs
- ColorPalette.cs
- SelectionRangeConverter.cs
- PropertyChangeTracker.cs
- WindowsListViewSubItem.cs
- MultiTargetingUtil.cs
- StringInfo.cs
- ToolStripContentPanel.cs
- XPathNavigatorReader.cs
- COM2IPerPropertyBrowsingHandler.cs
- OracleParameterCollection.cs
- IgnoreFileBuildProvider.cs
- ParserExtension.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DesignOnlyAttribute.cs
- Task.cs
- GenerateScriptTypeAttribute.cs
- LostFocusEventManager.cs
- ISSmlParser.cs
- ReturnEventArgs.cs
- CallContext.cs
- SqlGatherProducedAliases.cs
- LZCodec.cs
- DescendantQuery.cs
- ActivityExecutor.cs
- CopyCodeAction.cs
- ClientSettingsProvider.cs
- DataGridViewHitTestInfo.cs
- ViewStateAttachedPropertyFeature.cs
- AdornerLayer.cs
- CallSiteOps.cs
- EdmPropertyAttribute.cs
- ComponentSerializationService.cs
- KeyConverter.cs
- BypassElement.cs
- WebPartEditorOkVerb.cs
- WebPartDescriptionCollection.cs
- DataGridViewElement.cs
- _AutoWebProxyScriptHelper.cs
- BitmapEffectGeneralTransform.cs
- MembershipSection.cs
- Msec.cs
- Listbox.cs
- DefaultTextStore.cs
- XmlText.cs
- XmlIgnoreAttribute.cs
- PublisherMembershipCondition.cs
- TreePrinter.cs
- MonitoringDescriptionAttribute.cs
- ExpressionConverter.cs
- XmlNamespaceManager.cs
- SqlRecordBuffer.cs
- Documentation.cs
- ChineseLunisolarCalendar.cs
- SecurityMessageProperty.cs
- AsyncStreamReader.cs
- TextComposition.cs
- ImmutableObjectAttribute.cs
- LiteralTextContainerControlBuilder.cs
- DesignerVerbCollection.cs
- ScrollPattern.cs
- WebUtility.cs
- EntityContainerRelationshipSet.cs
- WindowsFormsDesignerOptionService.cs
- OleDbCommandBuilder.cs
- WorkflowDispatchContext.cs
- SQLMoneyStorage.cs
- SubqueryRules.cs
- MaterializeFromAtom.cs
- ListenerElementsCollection.cs
- TemplateBindingExpression.cs
- ScrollableControl.cs
- BrowserCapabilitiesFactory.cs
- DecryptedHeader.cs
- GridViewDeletedEventArgs.cs
- HyperlinkAutomationPeer.cs
- ToolStripSettings.cs
- XmlTextReader.cs
- FlowPanelDesigner.cs
- WebPartChrome.cs
- TextBoxLine.cs
- DynamicResourceExtension.cs
- Int64AnimationUsingKeyFrames.cs
- ByteConverter.cs
- WebPartConnectionsCancelEventArgs.cs
- SecureStringHasher.cs
- errorpatternmatcher.cs
- StrokeNodeOperations.cs
- Setter.cs
- streamingZipPartStream.cs
- HandlerWithFactory.cs
- DrawingGroupDrawingContext.cs
- DrawToolTipEventArgs.cs
- Point.cs
- SocketElement.cs
- MessageRpc.cs