This documentation is archived and is not being maintained.

OverflowException Constructor

.NET Framework 1.1

Initializes a new instance of the OverflowException class.

Overload List

Initializes a new instance of the OverflowException class.

Supported by the .NET Compact Framework.

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

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

Supported by the .NET Compact Framework.

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

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

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

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

See Also

OverflowException Class | OverflowException Members | System Namespace

Show: