Editar

Compartilhar via


AzureStorageUtils.IsContentionError(HttpStatusCode) Method

Definition

Check whether a HTTP status code returned from a REST call might be due to a (temporary) storage contention error.

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

Parameters

httpStatusCode
HttpStatusCode

HTTP status code to be examined.

Returns

Returns true if the HTTP status code is due to storage contention.

Applies to