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 );
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. |
ThreadStateException Class | ThreadStateException Members | System.Threading Namespace | ThreadStateException Constructor Overload List