[]
        
(Showing Draft Content)

C1.Util.DX.HResultDescriptor.-ctor

HResultDescriptor Constructor

HResultDescriptor(HResult, string, string, string, string)

Initializes a new instance of the HResultDescriptor class.

Declaration
public HResultDescriptor(HResult code, string module, string nativeApiCode, string apiCode, string description = null)
Parameters
Type Name Description
HResult code

The HRESULT error code.

string module

The module (ex: C1.Win.DX.Direct2D).

string nativeApiCode

The native API code.

string apiCode

The API code (ex: D2D1_ERR_...).

string description

The description of the result code if any.