Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

Represents a set of access conditions to be used for operations against the storage services.

Namespace:   Microsoft.WindowsAzure.Storage
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Inheritance Hierarchy

System.::..Object
  Microsoft.WindowsAzure.Storage.::..AccessCondition

Syntax

 
public sealed class AccessCondition
 
public ref class AccessCondition sealed 
 
[<Sealed>]
type AccessCondition = class end
 
Public NotInheritable Class AccessCondition

Constructors

Properties

NameDescription
System_CAPS_pubpropertyIfAppendPositionEqualIfAppendPositionEqualIfAppendPositionEqualIfAppendPositionEqual

Gets or sets a value for a condition specifying the byte offset to check for when committing a block to an append blob. The append will succeed only if the end position is equal to this number.

System_CAPS_pubpropertyIfMatchETagIfMatchETagIfMatchETagIfMatchETag

Gets or sets an ETag value for a condition specifying that the given ETag must match the ETag of the specified resource.

System_CAPS_pubpropertyIfMaxSizeLessThanOrEqualIfMaxSizeLessThanOrEqualIfMaxSizeLessThanOrEqualIfMaxSizeLessThanOrEqual

Gets or sets a value for a condition that specifies the maximum size allowed for an append blob when a new block is committed. The append will succeed only if the size of the blob after the append operation is less than or equal to the specified size.

System_CAPS_pubpropertyIfModifiedSinceTimeIfModifiedSinceTimeIfModifiedSinceTimeIfModifiedSinceTime

Gets or sets a DateTimeOffset value for a condition specifying a time since which a resource has been modified.

System_CAPS_pubpropertyIfNoneMatchETagIfNoneMatchETagIfNoneMatchETagIfNoneMatchETag

Gets or sets an ETag value for a condition specifying that the given ETag must not match the ETag of the specified resource.

System_CAPS_pubpropertyIfNotModifiedSinceTimeIfNotModifiedSinceTimeIfNotModifiedSinceTimeIfNotModifiedSinceTime

Gets or sets a DateTimeOffset value for a condition specifying a time since which a resource has not been modified.

System_CAPS_pubpropertyIfSequenceNumberEqualIfSequenceNumberEqualIfSequenceNumberEqualIfSequenceNumberEqual

Gets or sets a value for a condition specifying that the current sequence number must be equal to the specified value.

System_CAPS_pubpropertyIfSequenceNumberLessThanIfSequenceNumberLessThanIfSequenceNumberLessThanIfSequenceNumberLessThan

Gets or sets a value for a condition specifying that the current sequence number must be less than the specified value.

System_CAPS_pubpropertyIfSequenceNumberLessThanOrEqualIfSequenceNumberLessThanOrEqualIfSequenceNumberLessThanOrEqualIfSequenceNumberLessThanOrEqual

Gets or sets a value for a condition specifying that the current sequence number must be less than or equal to the specified value.

System_CAPS_pubpropertyLeaseIdLeaseIdLeaseIdLeaseId

Gets or sets a lease ID that must match the lease on a resource.

Methods

NameDescription
System_CAPS_pubmethodEquals(Object)(Object^)(Object)(Object)

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGenerateEmptyCondition()()()()

Constructs an empty access condition.

System_CAPS_pubmethodSystem_CAPS_staticGenerateIfAppendPositionEqualCondition(Int64)(Int64)(Int64)(Int64)

Constructs an access condition such that an operation will be performed only if the end position of the append blob is equal to the specified value.

System_CAPS_pubmethodSystem_CAPS_staticGenerateIfExistsCondition()()()()

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

System_CAPS_pubmethodSystem_CAPS_staticGenerateIfMatchCondition(String)(String^)(String)(String)

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

System_CAPS_pubmethodSystem_CAPS_staticGenerateIfMaxSizeLessThanOrEqualCondition(Int64)(Int64)(Int64)(Int64)

Constructs an access condition such that an operation will be performed only if the size of the append blob after committing the block is less than or equal to the specified value.

System_CAPS_pubmethodSystem_CAPS_staticGenerateIfModifiedSinceCondition(DateTimeOffset)(DateTimeOffset)(DateTimeOffset)(DateTimeOffset)

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

System_CAPS_pubmethodSystem_CAPS_staticGenerateIfNoneMatchCondition(String)(String^)(String)(String)

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

System_CAPS_pubmethodSystem_CAPS_staticGenerateIfNotExistsCondition()()()()

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

System_CAPS_pubmethodSystem_CAPS_staticGenerateIfNotModifiedSinceCondition(DateTimeOffset)(DateTimeOffset)(DateTimeOffset)(DateTimeOffset)

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

System_CAPS_pubmethodSystem_CAPS_staticGenerateIfSequenceNumberEqualCondition(Int64)(Int64)(Int64)(Int64)

Constructs an access condition such that an operation will be performed only if resource's current sequence number is equal to the specified value.

System_CAPS_pubmethodSystem_CAPS_staticGenerateIfSequenceNumberLessThanCondition(Int64)(Int64)(Int64)(Int64)

Constructs an access condition such that an operation will be performed only if resource's current sequence number is less than the specified value.

System_CAPS_pubmethodSystem_CAPS_staticGenerateIfSequenceNumberLessThanOrEqualCondition(Int64)(Int64)(Int64)(Int64)

Constructs an access condition such that an operation will be performed only if resource's current sequence number is less than or equal to the specified value.

System_CAPS_pubmethodSystem_CAPS_staticGenerateLeaseCondition(String)(String^)(String)(String)

Constructs an access condition such that an operation will be performed only if the lease ID on the resource matches the specified lease ID.

System_CAPS_pubmethodGetHashCode()()()()

(Inherited from Object.)

System_CAPS_pubmethodGetType()()()()

(Inherited from Object.)

System_CAPS_pubmethodToString()()()()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top