ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 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.

In This Topic
    HResultDescriptor Constructor
    In This Topic
    Initializes a new instance of the HResultDescriptor class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal code As HResult, _
       ByVal module As String, _
       ByVal nativeApiCode As String, _
       ByVal apiCode As String, _
       Optional ByVal description As String _
    )
    public HResultDescriptor( 
       HResult code,
       string module,
       string nativeApiCode,
       string apiCode,
       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