'Usage
Dim message As String Dim errorCode As Integer Dim instance As New SimulatedCOMException(message, errorCode)
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.