This documentation is archived and is not being maintained.

ServerException Constructor

.NET Framework 1.1

Initializes a new instance of the ServerException class.

Overload List

Initializes a new instance of the ServerException class with default properties.

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

Initializes a new instance of the ServerException class with a specified message.

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

Initializes a new instance of the ServerException class with a specified error message and a reference to the inner exception that is the cause of this exception.

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

See Also

ServerException Class | ServerException Members | System.Runtime.Remoting Namespace

Show: