Compartir a través de


Exception.m_HResult Field

Contains a coded numeric value that is assigned to a specific exception.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

protected int m_HResult

Remarks

This field holds a 32-bit value, which is divided into three sections: a severity code, a facility code, and an error code. The severity code indicates whether the return value represents information, a warning, or an error. The facility code identifies the area of the system that is responsible for the error. The error code is a unique number that is assigned to the exception. Each exception is mapped to a distinct HRESULT value.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

Exception Class
Exception Members
System Namespace