Initializes an instance of StackOverflowException with a specified message.
[Visual Basic] Overloads Public Sub New( _ ByVal message As String _ ) [C#] public StackOverflowException( string message ); [C++] public: StackOverflowException( String* message ); [JScript] public function StackOverflowException( message : String );
StackOverflowException inherits from the Exception class. This constructor sets the properties of the StackOverflowException object as follows:
Property Type | Condition |
---|---|
InnerException | null |
Message | The message string. |
StackOverflowException Class | StackOverflowException Members | System Namespace | StackOverflowException Constructor Overload List