Export (0) Print
Expand All

ThreadStateException Constructor

.NET Framework 1.1

Initializes a new instance of the ThreadStateException class.

Overload List

Initializes a new instance of the ThreadStateException class with default properties.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New()
[C#] public ThreadStateException();
[C++] public: ThreadStateException();
[JScript] public function ThreadStateException();

Initializes a new instance of the ThreadStateException class with a specified error message.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String)
[C#] public ThreadStateException(string);
[C++] public: ThreadStateException(String*);
[JScript] public function ThreadStateException(String);

Initializes a new instance of the ThreadStateException class with serialized data.

[Visual Basic] Protected Sub New(SerializationInfo, StreamingContext)
[C#] protected ThreadStateException(SerializationInfo, StreamingContext);
[C++] protected: ThreadStateException(SerializationInfo*, StreamingContext);
[JScript] protected function ThreadStateException(SerializationInfo, StreamingContext);

Initializes a new instance of the ThreadStateException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, Exception)
[C#] public ThreadStateException(string, Exception);
[C++] public: ThreadStateException(String*, Exception*);
[JScript] public function ThreadStateException(String, Exception);

See Also

ThreadStateException Class | ThreadStateException Members | System.Threading Namespace

Show:
© 2014 Microsoft