Share via


AccessCondition.GenerateIfNotExistsCondition Method

Definition

Constructs an access condition such that an operation will be performed only if the resource does not exist.

public static Microsoft.Azure.Storage.AccessCondition GenerateIfNotExistsCondition ();
static member GenerateIfNotExistsCondition : unit -> Microsoft.Azure.Storage.AccessCondition
Public Shared Function GenerateIfNotExistsCondition () As AccessCondition

Returns

An AccessCondition object that represents a condition where a resource does not exist.

Remarks

Setting this access condition modifies the request to include the HTTP If-None-Match conditional header.

Applies to