ExternalException Constructor (String, Int32)
.NET Framework (current version)
Initializes a new instance of the ExternalException class with a specified error message and the HRESULT of the error.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- message
-
Type:
System.String
The error message that specifies the reason for the exception.
- errorCode
-
Type:
System.Int32
The HRESULT of the error.
The following table shows the initial property values for an instance of ExternalException.
Property | Value |
|---|---|
The HRESULT of the error. | |
A null reference (Nothing in Visual Basic). | |
The error message string. |
.NET Framework
Available since 1.1
Available since 1.1
Show: