Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SystemException Constructor

.NET Framework 1.1

Initializes a new instance of the SystemException class.

Overload List

Initializes a new instance of the SystemException class.

Supported by the .NET Compact Framework.

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

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

Supported by the .NET Compact Framework.

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

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

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

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

See Also

SystemException Class | SystemException Members | System Namespace

Show:
© 2015 Microsoft