CloudBlob.exists Method

Definition

Overloads

exists()

Checks to see if the blob exists.

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

Checks to see if the blob exists, using the specified request options and operation context.

exists()

Checks to see if the blob exists.

public final boolean exists()
Returns
final boolean

true if the blob exists, otherwise false.

Exceptions

If a storage service error occurred.

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

Checks to see if the blob exists, using the specified request options and operation context.

public final boolean exists(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 boolean

true if the blob exists, other wise false.

Exceptions

If a storage service error occurred.