Code:
/ FX-1434 / FX-1434 / 1.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
- AutomationPropertyInfo.cs
- CookieProtection.cs
- WpfGeneratedKnownProperties.cs
- _UriSyntax.cs
- XmlIncludeAttribute.cs
- OutputChannel.cs
- AdornerDecorator.cs
- RandomNumberGenerator.cs
- XamlTypeMapper.cs
- ArrayList.cs
- NetNamedPipeBindingCollectionElement.cs
- HandledMouseEvent.cs
- TextUtf8RawTextWriter.cs
- FormsAuthenticationConfiguration.cs
- Attributes.cs
- EntityException.cs
- Wizard.cs
- EdmToObjectNamespaceMap.cs
- ToolboxItem.cs
- BitmapCodecInfo.cs
- MethodInfo.cs
- BitmapEncoder.cs
- DirectoryRedirect.cs
- SystemResourceHost.cs
- FaultContext.cs
- Error.cs
- DesignerVerbCollection.cs
- NetworkStream.cs
- MenuScrollingVisibilityConverter.cs
- DbProviderFactory.cs
- PagePropertiesChangingEventArgs.cs
- ClassValidator.cs
- TabControlEvent.cs
- DescendentsWalker.cs
- BevelBitmapEffect.cs
- BasicCellRelation.cs
- HandlerBase.cs
- NegotiationTokenAuthenticatorState.cs
- DateTimeSerializationSection.cs
- XmlSchemaAttributeGroupRef.cs
- TextSpanModifier.cs
- TableCell.cs
- ModelItemCollection.cs
- DataSourceCacheDurationConverter.cs
- MulticastOption.cs
- LostFocusEventManager.cs
- OleDbCommand.cs
- XmlSchemaInferenceException.cs
- StackOverflowException.cs
- ScrollItemPatternIdentifiers.cs
- AmbientProperties.cs
- FormViewInsertEventArgs.cs
- TextServicesHost.cs
- PathGeometry.cs
- EllipseGeometry.cs
- HttpListenerException.cs
- AssertHelper.cs
- ErrorWebPart.cs
- GeneralTransform.cs
- InternalResources.cs
- CDSsyncETWBCLProvider.cs
- PrtCap_Public.cs
- X509PeerCertificateElement.cs
- MessageBox.cs
- XmlQueryTypeFactory.cs
- DrawTreeNodeEventArgs.cs
- InputProcessorProfiles.cs
- SqlBooleanizer.cs
- KeyTime.cs
- DataKeyCollection.cs
- ResourceCategoryAttribute.cs
- InvalidProgramException.cs
- BitmapMetadata.cs
- ModelPerspective.cs
- ObjectListFieldCollection.cs
- DesignerSerializationVisibilityAttribute.cs
- PageRequestManager.cs
- TraceHwndHost.cs
- ButtonDesigner.cs
- HttpWebRequest.cs
- RadialGradientBrush.cs
- CustomAssemblyResolver.cs
- GeneralTransform3D.cs
- HttpClientCertificate.cs
- RegexWorker.cs
- ConnectionsZone.cs
- _ConnectStream.cs
- GenericRootAutomationPeer.cs
- JoinQueryOperator.cs
- PermissionRequestEvidence.cs
- GeneralTransform.cs
- HttpFileCollection.cs
- EnlistmentTraceIdentifier.cs
- QueryResponse.cs
- ContractBase.cs
- TextReader.cs
- QilTernary.cs
- TreeViewEvent.cs
- AbsoluteQuery.cs
- MSG.cs