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
- ServicesSection.cs
- ToolStripTextBox.cs
- DecoderFallbackWithFailureFlag.cs
- WindowsListViewItem.cs
- UrlPropertyAttribute.cs
- InternalConfigEventArgs.cs
- ScriptingSectionGroup.cs
- CodeStatement.cs
- VariableAction.cs
- UseAttributeSetsAction.cs
- WindowsListViewItemStartMenu.cs
- Cursor.cs
- CollectionDataContract.cs
- InputProcessorProfilesLoader.cs
- OuterGlowBitmapEffect.cs
- FontStretch.cs
- RadioButton.cs
- ProcessHostMapPath.cs
- DataColumnCollection.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- TextTreeInsertUndoUnit.cs
- TreeViewEvent.cs
- TimeSpanConverter.cs
- IgnoreDataMemberAttribute.cs
- SortedList.cs
- Stackframe.cs
- HyperLinkStyle.cs
- FormatSettings.cs
- WorkflowViewElement.cs
- Int32RectConverter.cs
- SystemUnicastIPAddressInformation.cs
- TextBox.cs
- ListParaClient.cs
- AddInServer.cs
- TransactionScope.cs
- HttpPostedFile.cs
- SvcMapFileSerializer.cs
- DataServiceBehavior.cs
- XmlEncoding.cs
- LambdaCompiler.Binary.cs
- DataControlLinkButton.cs
- URLString.cs
- QuaternionValueSerializer.cs
- ExpressionDumper.cs
- X509AsymmetricSecurityKey.cs
- CompilerGlobalScopeAttribute.cs
- Directory.cs
- CacheEntry.cs
- SingleQueryOperator.cs
- EndPoint.cs
- X509CertificateInitiatorServiceCredential.cs
- SecurityTokenAuthenticator.cs
- TargetParameterCountException.cs
- ExpandableObjectConverter.cs
- compensatingcollection.cs
- FlowchartStart.xaml.cs
- EmptyArray.cs
- RequestTimeoutManager.cs
- AutoResetEvent.cs
- SchemaType.cs
- ViewBox.cs
- Logging.cs
- BitmapCache.cs
- HTTPNotFoundHandler.cs
- DES.cs
- FilteredReadOnlyMetadataCollection.cs
- CompilationLock.cs
- ToolStripProgressBar.cs
- TemplateNodeContextMenu.cs
- TextPatternIdentifiers.cs
- ConfigurationStrings.cs
- CompositeFontInfo.cs
- HwndMouseInputProvider.cs
- InfoCard.cs
- MembershipAdapter.cs
- WebPartUtil.cs
- ReadWriteObjectLock.cs
- ErrorsHelper.cs
- UriTemplateVariablePathSegment.cs
- RadioButtonAutomationPeer.cs
- CornerRadius.cs
- OraclePermissionAttribute.cs
- RulePatternOps.cs
- ConfigurationConverterBase.cs
- XmlMemberMapping.cs
- SelectionWordBreaker.cs
- FileAuthorizationModule.cs
- ConfigurationSettings.cs
- XmlProcessingInstruction.cs
- HtmlLink.cs
- FtpCachePolicyElement.cs
- WindowsListViewSubItem.cs
- OciEnlistContext.cs
- TcpHostedTransportConfiguration.cs
- ConnectionConsumerAttribute.cs
- SurrogateEncoder.cs
- DiscoveryViaBehavior.cs
- XmlTypeMapping.cs
- RoutedEventArgs.cs
- IriParsingElement.cs