Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DivideByZeroException Constructor

DivideByZeroException Constructor

.NET Framework 1.1

Initializes a new instance of the DivideByZeroException class.

Overload List

Initializes a new instance of the DivideByZeroException class.

Supported by the .NET Compact Framework.

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

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

Supported by the .NET Compact Framework.

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

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

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

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

See Also

DivideByZeroException Class | DivideByZeroException Members | System Namespace

Show:
© 2015 Microsoft