[]
Initializes a new instance of the HResult struct.
public HResult(int code)
| Type | Name | Description |
|---|---|---|
| int | code | The HRESULT error code. |
Initializes a new instance of the HResult struct.
[CLSCompliant(false)]
public HResult(uint code)
| Type | Name | Description |
|---|---|---|
| uint | code | The HRESULT error code. |