HResult 属性

获取与错误关联的 HRESULT。HRESULT 是分配给特定异常的编码数值。

命名空间:  Microsoft.Synchronization
程序集:  Microsoft.Synchronization(在 Microsoft.Synchronization.dll 中)

语法

声明
Public ReadOnly Property HResult As Integer
    Get
用法
Dim instance As RecoverableErrorData
Dim value As Integer

value = instance.HResult
public int HResult { get; }
public:
property int HResult {
    int get ();
}
member HResult : int
function get HResult () : int

属性值

类型:System. . :: . .Int32
与错误关联的 HRESULT。

请参阅

参考

RecoverableErrorData类

RecoverableErrorData 成员

Microsoft.Synchronization 命名空间