[]
Initializes a new instance of the HResultDescriptor class.
public HResultDescriptor(HResult code, string module, string nativeApiCode, string apiCode, string description = null)
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. |