获取与错误关联的 HRESULT。HRESULT 是分配给特定异常的编码数值。
命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 microsoft.synchronization.dll 中)
语法
声明
Public ReadOnly Property HResult As Integer
用法
Dim instance As RecoverableErrorData
Dim value As Integer
value = instance.HResult
public int HResult { get; }
public:
property int HResult {
int get ();
}
/** @property */
public int get_HResult ()
public function get HResult () : int
属性值
与错误关联的 HRESULT。
请参阅
参考
RecoverableErrorData 类
RecoverableErrorData 成员
Microsoft.Synchronization 命名空间