Click or drag to resize

HResultHelperFacilityIdMask Field

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

A bit mask to filter the id of the facility (= the assembly) that threw the exception.

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

Field Value

Type: Int32
Remarks
See the HRESULT definition at MSDN for more information about the definition of HRESULT values.
Examples
int FacilityId = (ex.HResult & HResultHelper.FacilityIdMask) >> HResultHelper.FacilityIdShift;
See Also