'Declaration
Public Function New( _ ByVal message As String, _ ByVal errorCode As Integer, _ ByVal inner As Exception _ )
'Usage
Dim message As String Dim errorCode As Integer Dim inner As Exception Dim instance As New ExtendedCOMException(message, errorCode, inner)
Parameters
- message
- The message that indicates the reason the exception occurred.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - errorCode
- The error code (HRESULT) value associated with this exception.
- inner
- The exception that is the cause of the current exception.
The value of this parameter can be
null
(Nothing
in Visual Basic).