JsonError.GetStatus(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用傳回的 HRESULT 值取得特定錯誤。 可能的值為 JsonErrorStatus所定義。
public:
static JsonErrorStatus GetStatus(int hresult);
/// [Windows.Foundation.Metadata.Deprecated("GetStatus may be altered or unavailable for releases after Windows 8.1. Instead, use GetJsonStatus.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
static JsonErrorStatus GetStatus(int const& hresult);
[Windows.Foundation.Metadata.Deprecated("GetStatus may be altered or unavailable for releases after Windows 8.1. Instead, use GetJsonStatus.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public static JsonErrorStatus GetStatus(int hresult);
function getStatus(hresult)
Public Shared Function GetStatus (hresult As Integer) As JsonErrorStatus
參數
- hresult
-
Int32
int
作業期間傳回 的 HRESULT 。
傳回
發生錯誤。
- 屬性
備註
只有 Windows 10 10.0.10240 版才支援此方法。 此方法已在更新版本中移除。