Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

StackOverflowException Constructor

.NET Framework 1.1

Initializes a new instance of the StackOverflowException class.

Overload List

Initializes a new instance of the StackOverflowException class, setting the Message property of the new instance to a system-supplied message that describes the error, such as "The requested operation caused a stack overflow." This message takes into account the current system culture.

Supported by the .NET Compact Framework.

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

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

Supported by the .NET Compact Framework.

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

Initializes a new instance of the StackOverflowException 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 StackOverflowException(string, Exception);
[C++] public: StackOverflowException(String*, Exception*);
[JScript] public function StackOverflowException(String, Exception);

See Also

StackOverflowException Class | StackOverflowException Members | System Namespace

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.