Cloud​Blob​Directory Class

Definition

Represents a virtual directory of blobs on the client which emulates a hierarchical data store by using delimiter characters.

public class CloudBlobDirectory : Microsoft.WindowsAzure.Storage.Blob.IListBlobItem
Inheritance
CloudBlobDirectory
Implements

Remarks

Containers, which are encapsulated as CloudBlobContainer objects, hold directories, and directories hold block blobs and page blobs. Directories can also contain sub-directories.

Properties

Container

Gets the container for the virtual directory.

Parent

Gets the parent directory for the virtual directory.

Prefix

Gets the prefix.

Service​Client

Gets the Blob service client for the virtual directory.

Storage​Uri

Gets the blob directory's URIs for both the primary and secondary locations.

Uri

Gets the URI that identifies the virtual directory for the primary location.

Methods

Begin​List​Blobs​Segmented(​Blob​Continuation​Token, ​Async​Callback, ​Object)

Begins an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

Begin​List​Blobs​Segmented(​Boolean, ​Blob​Listing​Details, ​Nullable<​Int32>, ​Blob​Continuation​Token, ​Blob​Request​Options, ​Operation​Context, ​Async​Callback, ​Object)

Begins an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

End​List​Blobs​Segmented(​IAsync​Result)

Ends an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

Get​Append​Blob​Reference(​String)

Gets a reference to an append blob in this virtual directory.

Get​Append​Blob​Reference(​String, ​Nullable<​Date​Time​Offset>)

Gets a reference to an append blob in this virtual directory.

Get​Blob​Reference(​String)

Gets a reference to a blob in this virtual directory.

Get​Blob​Reference(​String, ​Nullable<​Date​Time​Offset>)

Gets a reference to a blob in this virtual directory.

Get​Block​Blob​Reference(​String)

Gets a reference to a block blob in this virtual directory.

Get​Block​Blob​Reference(​String, ​Nullable<​Date​Time​Offset>)

Gets a reference to a block blob in this virtual directory.

Get​Directory​Reference(​String)

Returns a virtual subdirectory within this virtual directory.

Get​Page​Blob​Reference(​String, ​Nullable<​Date​Time​Offset>)

Returns a reference to a page blob in this virtual directory.

Get​Page​Blob​Reference(​String)

Gets a reference to a page blob in this virtual directory.

List​Blobs(​Boolean, ​Blob​Listing​Details, ​Blob​Request​Options, ​Operation​Context)

Returns an enumerable collection of the blobs in the virtual directory that are retrieved lazily.

List​Blobs​Segmented(​Blob​Continuation​Token)

Returns a result segment containing a collection of blob items in the virtual directory.

List​Blobs​Segmented(​Boolean, ​Blob​Listing​Details, ​Nullable<​Int32>, ​Blob​Continuation​Token, ​Blob​Request​Options, ​Operation​Context)

Returns a result segment containing a collection of blob items in the virtual directory.

List​Blobs​Segmented​Async(​Blob​Continuation​Token)

Initiates an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

List​Blobs​Segmented​Async(​Blob​Continuation​Token, ​Cancellation​Token)

Initiates an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

List​Blobs​Segmented​Async(​Boolean, ​Blob​Listing​Details, ​Nullable<​Int32>, ​Blob​Continuation​Token, ​Blob​Request​Options, ​Operation​Context)

Initiates an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

List​Blobs​Segmented​Async(​Boolean, ​Blob​Listing​Details, ​Nullable<​Int32>, ​Blob​Continuation​Token, ​Blob​Request​Options, ​Operation​Context, ​Cancellation​Token)

Initiates an asynchronous operation to return a result segment containing a collection of blob items in the virtual directory.

Extension Methods

IsDefined(Object)

Represents a virtual directory of blobs on the client which emulates a hierarchical data store by using delimiter characters.

IsNull(Object)

Represents a virtual directory of blobs on the client which emulates a hierarchical data store by using delimiter characters.

IsPrimitive(Object)

Represents a virtual directory of blobs on the client which emulates a hierarchical data store by using delimiter characters.