CloudExceptionExtensions.IsAccessConditionFailed(CloudException) Method

Definition

Indicates whether the exception is the result of a failed access condition (ETag) check.

public static bool IsAccessConditionFailed (this Microsoft.Rest.Azure.CloudException exception);
static member IsAccessConditionFailed : Microsoft.Rest.Azure.CloudException -> bool
<Extension()>
Public Function IsAccessConditionFailed (exception As CloudException) As Boolean

Parameters

exception
CloudException

The exception to check.

Returns

System.Boolean

true if the exception is a failed access condition (HTTP 412 Precondition Failed), false otherwise.

Applies to