NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Exception Constructor

Initializes a new instance of the Exception class.

Overload List

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

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

Initializes a new instance of the Exception class with its message set as specified.

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

Initializes a new instance of the Exception class with its message and its inner exception set as specified.

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

[To be supplied.]

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

See Also

Exception Class | Exception Members | System Namespace