CloudBlob.downloadAttributes Method

Definition

Overloads

downloadAttributes()

Populates a blob's properties and metadata.

This method populates the blob's system properties and user-defined metadata. Before reading or modifying a blob's properties or metadata, call this method or its overload to retrieve the latest values for the blob's properties and metadata from the Microsoft Azure storage service.

downloadAttributes(final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)

Populates a blob's properties and metadata using the specified request options and operation context.

This method populates the blob's system properties and user-defined metadata. Before reading or modifying a blob's properties or metadata, call this method or its overload to retrieve the latest values for the blob's properties and metadata from the Microsoft Azure storage service.

downloadAttributes()

Populates a blob's properties and metadata.

This method populates the blob's system properties and user-defined metadata. Before reading or modifying a blob's properties or metadata, call this method or its overload to retrieve the latest values for the blob's properties and metadata from the Microsoft Azure storage service.

public final void downloadAttributes()
Returns
final void
Exceptions

If a storage service error occurred.

downloadAttributes(final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)

Populates a blob's properties and metadata using the specified request options and operation context.

This method populates the blob's system properties and user-defined metadata. Before reading or modifying a blob's properties or metadata, call this method or its overload to retrieve the latest values for the blob's properties and metadata from the Microsoft Azure storage service.

public final void downloadAttributes(final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)
Parameters
accessCondition
final AccessCondition

An AccessCondition object that represents the access conditions for the blob.

options
BlobRequestOptions

A BlobRequestOptions object that specifies any additional options for the request. Specifying null will use the default request options from the associated service client ( CloudBlobClient).

opContext
OperationContext

An OperationContext object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation.

Returns
final void
Exceptions

If a storage service error occurred.

Applies to