Click or drag to resize

HResultHelperErrorIdMask Field

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

A bit mask to filter the error id of the HResult.

Namespace:  NerdyDuck.CodedExceptions
Assembly:  NerdyDuck.CodedExceptions (in NerdyDuck.CodedExceptions.dll) Version: 2.0.0+2040dad
Syntax
public const int ErrorIdMask = 65535
View Source

Field Value

Type: Int32
Remarks
See the HRESULT definition at MSDN for more information about the definition of HRESULT values.
Examples
int ErrorId = ex.HResult & HResultHelper.ErrorIdMask;
See Also