Initializes a new instance of the ExternalException class with a specified message and error code.
[Visual Basic] Overloads Public Sub New( _ ByVal message As String, _ ByVal errorCode As Integer _ ) [C#] public ExternalException( string message, int errorCode ); [C++] public: ExternalException( String* message, int errorCode ); [JScript] public function ExternalException( message : String, errorCode : int );
ExternalException inherits from the Exception class. This constructor sets the properties of the Exception object as follows:
Property | Value |
---|---|
InnerException | a null reference (in Visual Basic Nothing). |
Message | The message string. |
ExternalException Class | ExternalException Members | System.Runtime.InteropServices Namespace | ExternalException Constructor Overload List