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!

COMException Constructor (String)

Initializes a new instance of COMException with a specified message.

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

Parameters

message
The message indicates the reason the exception occurred.

Remarks

COMException inherits from Exception. This constructor sets the properties of the Exception object as follows:

Property Value
InnerException null
Message message.

See Also

COMException Class | COMException Members | System.Runtime.InteropServices Namespace | COMException Constructor Overload List