CloudBlobContainer.exists Method

Definition

Overloads

exists()

Returns a value that indicates whether the container exists.

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

Returns a value that indicates whether the container exists, using the specified request options and operation context.

exists()

Returns a value that indicates whether the container exists.

public boolean exists()
Returns
boolean

true if the container exists, otherwise false.

Exceptions

If a storage service error occurred.

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

Returns a value that indicates whether the container exists, using the specified request options and operation context.

public boolean exists(final AccessCondition accessCondition, BlobRequestOptions options, OperationContext opContext)
Parameters
accessCondition
final AccessCondition

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

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
boolean

true if the container exists, otherwise false.

Exceptions

If a storage service error occurred.

Applies to