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 );
COMException inherits from Exception. This constructor sets the properties of the Exception object as follows:
Property | Value |
---|---|
InnerException | null |
Message | message. |
COMException Class | COMException Members | System.Runtime.InteropServices Namespace | COMException Constructor Overload List