Share via


AccessCondition.GenerateIfNotModifiedSinceCondition(DateTimeOffset) Method

Definition

Constructs an access condition such that an operation will be performed only if the resource has not been modified since the specified time.

public static Microsoft.Azure.Storage.AccessCondition GenerateIfNotModifiedSinceCondition (DateTimeOffset modifiedTime);
static member GenerateIfNotModifiedSinceCondition : DateTimeOffset -> Microsoft.Azure.Storage.AccessCondition
Public Shared Function GenerateIfNotModifiedSinceCondition (modifiedTime As DateTimeOffset) As AccessCondition

Parameters

modifiedTime
DateTimeOffset

A DateTimeOffset value specifying the time since which the resource must not have been modified.

Returns

An AccessCondition object that represents the If-Unmodified-Since condition.

Applies to