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 (String)

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

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

Parameters

message
A message that identifies the reason the exception occurred.

Exceptions

Exception Type Condition
Exception.InnerException null
Exception.Message message.

Remarks

All derived classes should provide a constructor with a parameters list identical to the constructor's list.

See Also

Exception Class | Exception Members | System Namespace | Exception Constructor Overload List