AzureStorageUtils.IsRetriableHttpError(HttpStatusCode, String) 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.
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