AzureStorageUtils.IsContentionError(HttpStatusCode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.