NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ThreadStateException Constructor (String)

Initializes an instance of ThreadStateException with a specified message.

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

Parameters

message
The message that indicates the reason why the exception occurred.

Remarks

ThreadStateException inherits from Exception. This constructor sets the properties of ThreadStateException as follows:

Property Type Condition
InnerException a null reference (in Visual Basic Nothing).
Message The message string.

See Also

ThreadStateException Class | ThreadStateException Members | System.Threading Namespace | ThreadStateException Constructor Overload List