Edytuj

Udostępnij za pośrednictwem


AzureStorageUtils.IsRetriableHttpError(HttpStatusCode, String) Method

Definition

Returns true if the specified HTTP status / error code is returned in a transient / retriable error condition

public static bool IsRetriableHttpError (System.Net.HttpStatusCode httpStatusCode, string restStatusCode);
static member IsRetriableHttpError : System.Net.HttpStatusCode * string -> bool
Public Shared Function IsRetriableHttpError (httpStatusCode As HttpStatusCode, restStatusCode As String) As Boolean

Parameters

httpStatusCode
HttpStatusCode

HTTP error code value

restStatusCode
String

REST error code value

Returns

true if this is a transient / retriable error condition

Applies to