HResultDescriptor Constructor
In This Topic
Initializes a new instance of the
HResultDescriptor class.
Syntax
'Declaration
Public Function New( _
ByVal As HResult, _
ByVal As System.String, _
ByVal As System.String, _
ByVal As System.String, _
Optional ByVal As System.String _
)
public HResultDescriptor(
HResult ,
System.string ,
System.string ,
System.string ,
System.string
)
Parameters
- code
- The HRESULT error code.
- module
- The module (ex: C1.Win.DX.Direct2D).
- nativeApiCode
- The native API code.
- apiCode
- The API code (ex: D2D1_ERR_...).
- description
- The description of the result code if any.
See Also