AzureStorageUtils.IsNotFoundError(HttpStatusCode) 方法

定义

检查从 REST 调用返回的 HTTP 状态代码是否可能是由于 (临时) 存储争用错误导致的。

public static bool IsNotFoundError (System.Net.HttpStatusCode httpStatusCode);
static member IsNotFoundError : System.Net.HttpStatusCode -> bool
Public Shared Function IsNotFoundError (httpStatusCode As HttpStatusCode) As Boolean

参数

httpStatusCode
HttpStatusCode

要检查的 HTTP 状态代码。

返回

如果 HTTP 状态代码是由于存储争用,则返回 true

适用于