Click or drag to resize

HResultHelperGetErrorId Method

[This is preliminary documentation and is subject to change.]

Gets the error identifier part of an HResult.

Namespace:  NerdyDuck.CodedExceptions
Assembly:  NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntax
public static int GetErrorId(
	int hresult
)
View Source

Parameters

hresult
Type: SystemInt32
The HResult to extract the error identifier from.

Return Value

Type: Int32
An error identifier.
See Also