ComponentOne Bitmap for WPF
HResultDescriptor Constructor

C1.WPF.DX.4 Assembly > C1.Util.DX Namespace > HResultDescriptor Class : HResultDescriptor Constructor
The HRESULT error code.
The module (ex: C1.Win.DX.Direct2D).
The native API code.
The API code (ex: D2D1_ERR_...).
The description of the result code if any.
Initializes a new instance of the HResultDescriptor class.
Syntax
'Declaration
 
Public Function New( _
   ByVal code As HResult, _
   ByVal module As System.String, _
   ByVal nativeApiCode As System.String, _
   ByVal apiCode As System.String, _
   Optional ByVal description As System.String _
)
public HResultDescriptor( 
   HResult code,
   System.string module,
   System.string nativeApiCode,
   System.string apiCode,
   System.string description
)

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

Reference

HResultDescriptor Class
HResultDescriptor Members