Share via


AccessCondition Class

Definition

Additional parameters for a set of operations.

public class AccessCondition
type AccessCondition = class
Public Class AccessCondition
Inheritance
AccessCondition

Constructors

AccessCondition()

Initializes a new instance of the AccessCondition class.

AccessCondition(String, String)

Initializes a new instance of the AccessCondition class.

Properties

IfMatch

Gets or sets defines the If-Match condition. The operation will be performed only if the ETag on the server matches this value.

IfNoneMatch

Gets or sets defines the If-None-Match condition. The operation will be performed only if the ETag on the server does not match this value.

Methods

GenerateEmptyCondition()

Constructs an empty access condition.

GenerateIfExistsCondition()

Constructs an access condition such that an operation will be performed only if the resource exists.

GenerateIfMatchCondition(String)

Constructs an access condition such that an operation will be performed only if the resource's current ETag value matches the specified ETag value.

GenerateIfNoneMatchCondition(String)

Constructs an access condition such that an operation will be performed only if the resource's current ETag value does not match the specified ETag value.

GenerateIfNotExistsCondition()

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

IfNotChanged(IResourceWithETag)

Constructs an access condition such that an operation will be performed only if the resource's current ETag value matches the specified resource's ETag value.

Applies to