mscorlib(4.0.0.0) API with additions
ThreadStateException.cs
1
using
System
.
Runtime
.
InteropServices
;
2
using
System
.
Runtime
.
Serialization
;
3
4
namespace
System.Threading
5
{
7
[
Serializable
]
8
[ComVisible(
true
)]
9
public
class
ThreadStateException
:
SystemException
10
{
12
public
ThreadStateException
()
13
: base(
Environment
.GetResourceString(
"Arg_ThreadStateException"
))
14
{
15
SetErrorCode(-2146233056);
16
}
17
20
public
ThreadStateException
(
string
message)
21
: base(message)
22
{
23
SetErrorCode(-2146233056);
24
}
25
29
public
ThreadStateException
(
string
message,
Exception
innerException)
30
: base(message, innerException)
31
{
32
SetErrorCode(-2146233056);
33
}
34
38
protected
ThreadStateException
(
SerializationInfo
info,
StreamingContext
context)
39
: base(info, context)
40
{
41
}
42
}
43
}
System.Threading.ThreadStateException.ThreadStateException
ThreadStateException()
Initializes a new instance of the T:System.Threading.ThreadStateException class with default properti...
Definition:
ThreadStateException.cs:12
System.SystemException
Serves as the base class for system exceptions namespace.
Definition:
SystemException.cs:9
System.Runtime.InteropServices
Definition:
_Activator.cs:1
System.Threading.ThreadStateException
The exception that is thrown when a T:System.Threading.Thread is in an invalid P:System....
Definition:
ThreadStateException.cs:9
System.Runtime
Definition:
AssemblyTargetedPatchBandAttribute.cs:1
System
Definition:
__Canon.cs:3
System.Runtime.Serialization.StreamingContext
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Definition:
StreamingContext.cs:9
System.Threading.ThreadStateException.ThreadStateException
ThreadStateException(string message)
Initializes a new instance of the T:System.Threading.ThreadStateException class with a specified erro...
Definition:
ThreadStateException.cs:20
System.Environment
Provides information about, and means to manipulate, the current environment and platform....
Definition:
Environment.cs:21
System.Threading.ThreadStateException.ThreadStateException
ThreadStateException(SerializationInfo info, StreamingContext context)
Initializes a new instance of the T:System.Threading.ThreadStateException class with serialized data.
Definition:
ThreadStateException.cs:38
System.Runtime.Serialization
Definition:
DeserializationEventHandler.cs:1
System.Runtime.Serialization.SerializationInfo
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
Definition:
SerializationInfo.cs:12
System.Exception
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Definition:
Exception.cs:22
System.Threading.ThreadStateException.ThreadStateException
ThreadStateException(string message, Exception innerException)
Initializes a new instance of the T:System.Threading.ThreadStateException class with a specified erro...
Definition:
ThreadStateException.cs:29
System.Reflection.TypeAttributes.Serializable
Specifies that the class can be serialized.
System.Threading
Definition:
_IOCompletionCallback.cs:3
All cs
System.Threading
ThreadStateException.cs
Generated by
1.8.15