Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

Represents a directory of files, designated by a delimiter character.

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

Inheritance Hierarchy

System.::..Object
  Microsoft.WindowsAzure.Storage.File.::..CloudFileDirectory

Syntax

 
public class CloudFileDirectory : IListFileItem
 
public ref class CloudFileDirectory : IListFileItem
 
type CloudFileDirectory = 
    class
        interface IListFileItem
    end
 
Public Class CloudFileDirectory
	Implements IListFileItem

Constructors

NameDescription
System_CAPS_pubmethodCloudFileDirectory(StorageUri, StorageCredentials)(StorageUri^, StorageCredentials^)(StorageUri, StorageCredentials)(StorageUri, StorageCredentials)

Initializes a new instance of the CloudFileDirectory class using an absolute URI to the directory.

System_CAPS_pubmethodCloudFileDirectory(Uri)(Uri^)(Uri)(Uri)

Initializes a new instance of the CloudFileDirectory class using an absolute URI to the directory.

System_CAPS_pubmethodCloudFileDirectory(Uri, StorageCredentials)(Uri^, StorageCredentials^)(Uri, StorageCredentials)(Uri, StorageCredentials)

Initializes a new instance of the CloudFileDirectory class using an absolute URI to the directory.

Properties

NameDescription
System_CAPS_pubpropertyMetadataMetadataMetadataMetadata

Gets the user-defined metadata for the directory.

System_CAPS_pubpropertyNameNameNameName

Gets the name of the directory.

System_CAPS_pubpropertyParentParentParentParent

Gets a CloudFileDirectory object that represents the parent directory for the directory.

System_CAPS_pubpropertyPropertiesPropertiesPropertiesProperties

Gets a FileDirectoryProperties object that represents the directory's system properties.

System_CAPS_pubpropertyServiceClientServiceClientServiceClientServiceClient

Gets a CloudFileClient object that specifies the endpoint for the File service.

System_CAPS_pubpropertyShareShareShareShare

Gets a CloudFileShare object that represents the share for the directory.

System_CAPS_pubpropertyStorageUriStorageUriStorageUriStorageUri

Gets the file directory's URIs for all locations.

System_CAPS_pubpropertyUriUriUriUri

Gets the directory's URI for the primary location.

Methods

NameDescription
System_CAPS_pubmethodBeginCreate(AsyncCallback, Object)(AsyncCallback^, Object^)(AsyncCallback, Object)(AsyncCallback, Object)

Begins an asynchronous operation to create a directory.

System_CAPS_pubmethodBeginCreate(FileRequestOptions, OperationContext, AsyncCallback, Object)(FileRequestOptions^, OperationContext^, AsyncCallback^, Object^)(FileRequestOptions, OperationContext, AsyncCallback, Object)(FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to create a directory.

System_CAPS_pubmethodBeginCreateIfNotExists(AsyncCallback, Object)(AsyncCallback^, Object^)(AsyncCallback, Object)(AsyncCallback, Object)

Begins an asynchronous request to create the directory if it does not already exist.

System_CAPS_pubmethodBeginCreateIfNotExists(FileRequestOptions, OperationContext, AsyncCallback, Object)(FileRequestOptions^, OperationContext^, AsyncCallback^, Object^)(FileRequestOptions, OperationContext, AsyncCallback, Object)(FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous request to create the directory if it does not already exist.

System_CAPS_pubmethodBeginDelete(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)(AccessCondition^, FileRequestOptions^, OperationContext^, AsyncCallback^, Object^)(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to delete a directory.

System_CAPS_pubmethodBeginDelete(AsyncCallback, Object)(AsyncCallback^, Object^)(AsyncCallback, Object)(AsyncCallback, Object)

Begins an asynchronous operation to delete a directory.

System_CAPS_pubmethodBeginDeleteIfExists(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)(AccessCondition^, FileRequestOptions^, OperationContext^, AsyncCallback^, Object^)(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous request to delete the directory if it already exists.

System_CAPS_pubmethodBeginDeleteIfExists(AsyncCallback, Object)(AsyncCallback^, Object^)(AsyncCallback, Object)(AsyncCallback, Object)

Begins an asynchronous request to delete the directory if it already exists.

System_CAPS_pubmethodBeginExists(AsyncCallback, Object)(AsyncCallback^, Object^)(AsyncCallback, Object)(AsyncCallback, Object)

Begins an asynchronous request to check whether the directory exists.

System_CAPS_pubmethodBeginExists(FileRequestOptions, OperationContext, AsyncCallback, Object)(FileRequestOptions^, OperationContext^, AsyncCallback^, Object^)(FileRequestOptions, OperationContext, AsyncCallback, Object)(FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous request to check whether the directory exists.

System_CAPS_pubmethodBeginFetchAttributes(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)(AccessCondition^, FileRequestOptions^, OperationContext^, AsyncCallback^, Object^)(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to populate the directory's properties and metadata.

System_CAPS_pubmethodBeginFetchAttributes(AsyncCallback, Object)(AsyncCallback^, Object^)(AsyncCallback, Object)(AsyncCallback, Object)

Begins an asynchronous operation to populate the directory's properties.

System_CAPS_pubmethodBeginListFilesAndDirectoriesSegmented(FileContinuationToken, AsyncCallback, Object)(FileContinuationToken^, AsyncCallback^, Object^)(FileContinuationToken, AsyncCallback, Object)(FileContinuationToken, AsyncCallback, Object)

Begins an asynchronous operation to return a result segment containing a collection of file items in the share.

System_CAPS_pubmethodBeginListFilesAndDirectoriesSegmented(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, AsyncCallback, Object)(Nullable<Int32>, FileContinuationToken^, FileRequestOptions^, OperationContext^, AsyncCallback^, Object^)(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, AsyncCallback, Object)(Nullable(Of Int32), FileContinuationToken, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to return a result segment containing a collection of file items in the share.

System_CAPS_pubmethodBeginSetMetadata(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)(AccessCondition^, FileRequestOptions^, OperationContext^, AsyncCallback^, Object^)(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)(AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to update the directory's metadata.

System_CAPS_pubmethodBeginSetMetadata(AsyncCallback, Object)(AsyncCallback^, Object^)(AsyncCallback, Object)(AsyncCallback, Object)

Begins an asynchronous operation to update the directory's metadata.

System_CAPS_pubmethodCreateAsync()()()()

Returns a task that performs an asynchronous operation to create a directory.

System_CAPS_pubmethodCreateAsync(CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)

Returns a task that performs an asynchronous operation to create a directory.

System_CAPS_pubmethodCreateAsync(FileRequestOptions, OperationContext)(FileRequestOptions^, OperationContext^)(FileRequestOptions, OperationContext)(FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to create a directory.

System_CAPS_pubmethodCreateAsync(FileRequestOptions, OperationContext, CancellationToken)(FileRequestOptions^, OperationContext^, CancellationToken)(FileRequestOptions, OperationContext, CancellationToken)(FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to create a directory.

System_CAPS_pubmethodCreateIfNotExistsAsync()()()()

Returns a task that performs an asynchronous request to create the directory if it does not already exist.

System_CAPS_pubmethodCreateIfNotExistsAsync(CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)

Returns a task that performs an asynchronous request to create the directory if it does not already exist.

System_CAPS_pubmethodCreateIfNotExistsAsync(FileRequestOptions, OperationContext)(FileRequestOptions^, OperationContext^)(FileRequestOptions, OperationContext)(FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous request to create the directory if it does not already exist.

System_CAPS_pubmethodCreateIfNotExistsAsync(FileRequestOptions, OperationContext, CancellationToken)(FileRequestOptions^, OperationContext^, CancellationToken)(FileRequestOptions, OperationContext, CancellationToken)(FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous request to create the directory if it does not already exist.

System_CAPS_pubmethodDeleteAsync()()()()

Returns a task that performs an asynchronous operation to delete a directory.

System_CAPS_pubmethodDeleteAsync(AccessCondition, FileRequestOptions, OperationContext)(AccessCondition^, FileRequestOptions^, OperationContext^)(AccessCondition, FileRequestOptions, OperationContext)(AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to delete a directory.

System_CAPS_pubmethodDeleteAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)(AccessCondition^, FileRequestOptions^, OperationContext^, CancellationToken)(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to delete a directory.

System_CAPS_pubmethodDeleteAsync(CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)

Returns a task that performs an asynchronous operation to delete a directory.

System_CAPS_pubmethodDeleteIfExistsAsync()()()()

Returns a task that performs an asynchronous request to delete the directory if it already exists.

System_CAPS_pubmethodDeleteIfExistsAsync(AccessCondition, FileRequestOptions, OperationContext)(AccessCondition^, FileRequestOptions^, OperationContext^)(AccessCondition, FileRequestOptions, OperationContext)(AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous request to delete the directory if it already exists.

System_CAPS_pubmethodDeleteIfExistsAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)(AccessCondition^, FileRequestOptions^, OperationContext^, CancellationToken)(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous request to delete the directory if it already exists.

System_CAPS_pubmethodDeleteIfExistsAsync(CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)

Returns a task that performs an asynchronous request to delete the directory if it already exists.

System_CAPS_pubmethodEndCreate(IAsyncResult)(IAsyncResult^)(IAsyncResult)(IAsyncResult)

Ends an asynchronous operation to create a directory.

System_CAPS_pubmethodEndCreateIfNotExists(IAsyncResult)(IAsyncResult^)(IAsyncResult)(IAsyncResult)

Returns the result of an asynchronous request to create the directory if it does not already exist.

System_CAPS_pubmethodEndDelete(IAsyncResult)(IAsyncResult^)(IAsyncResult)(IAsyncResult)

Ends an asynchronous operation to delete a directory.

System_CAPS_pubmethodEndDeleteIfExists(IAsyncResult)(IAsyncResult^)(IAsyncResult)(IAsyncResult)

Returns the result of an asynchronous request to delete the directory if it already exists.

System_CAPS_pubmethodEndExists(IAsyncResult)(IAsyncResult^)(IAsyncResult)(IAsyncResult)

Returns the asynchronous result of the request to check whether the directory exists.

System_CAPS_pubmethodEndFetchAttributes(IAsyncResult)(IAsyncResult^)(IAsyncResult)(IAsyncResult)

Ends an asynchronous operation to populate the directory's properties and metadata.

System_CAPS_pubmethodEndListFilesAndDirectoriesSegmented(IAsyncResult)(IAsyncResult^)(IAsyncResult)(IAsyncResult)

Ends an asynchronous operation to return a result segment containing a collection of file items in the share.

System_CAPS_pubmethodEndSetMetadata(IAsyncResult)(IAsyncResult^)(IAsyncResult)(IAsyncResult)

Ends an asynchronous operation to update the directory's metadata.

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

(Inherited from Object.)

System_CAPS_pubmethodExistsAsync()()()()

Returns a task that performs an asynchronous request to check whether the directory exists.

System_CAPS_pubmethodExistsAsync(CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)

Returns a task that performs an asynchronous request to check whether the directory exists.

System_CAPS_pubmethodExistsAsync(FileRequestOptions, OperationContext)(FileRequestOptions^, OperationContext^)(FileRequestOptions, OperationContext)(FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous request to check whether the directory exists.

System_CAPS_pubmethodExistsAsync(FileRequestOptions, OperationContext, CancellationToken)(FileRequestOptions^, OperationContext^, CancellationToken)(FileRequestOptions, OperationContext, CancellationToken)(FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous request to check whether the directory exists.

System_CAPS_pubmethodFetchAttributesAsync()()()()

Returns a task that performs an asynchronous operation to populate the directory's properties and metadata.

System_CAPS_pubmethodFetchAttributesAsync(AccessCondition, FileRequestOptions, OperationContext)(AccessCondition^, FileRequestOptions^, OperationContext^)(AccessCondition, FileRequestOptions, OperationContext)(AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to populate the directory's properties and metadata.

System_CAPS_pubmethodFetchAttributesAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)(AccessCondition^, FileRequestOptions^, OperationContext^, CancellationToken)(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to populate the directory's properties and metadata.

System_CAPS_pubmethodFetchAttributesAsync(CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)

Returns a task that performs an asynchronous operation to populate the directory's properties and metadata.

System_CAPS_protmethodFinalize()()()()

(Inherited from Object.)

System_CAPS_pubmethodGetDirectoryReference(String)(String^)(String)(String)

Returns a CloudFileDirectory object that represents a subdirectory within this directory.

System_CAPS_pubmethodGetFileReference(String)(String^)(String)(String)

Returns a CloudFile object that represents a file in this directory.

System_CAPS_pubmethodGetHashCode()()()()

(Inherited from Object.)

System_CAPS_pubmethodGetType()()()()

(Inherited from Object.)

System_CAPS_pubmethodListFilesAndDirectoriesSegmentedAsync(FileContinuationToken)(FileContinuationToken^)(FileContinuationToken)(FileContinuationToken)

Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share.

System_CAPS_pubmethodListFilesAndDirectoriesSegmentedAsync(FileContinuationToken, CancellationToken)(FileContinuationToken^, CancellationToken)(FileContinuationToken, CancellationToken)(FileContinuationToken, CancellationToken)

Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share.

System_CAPS_pubmethodListFilesAndDirectoriesSegmentedAsync(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext)(Nullable<Int32>, FileContinuationToken^, FileRequestOptions^, OperationContext^)(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext)(Nullable(Of Int32), FileContinuationToken, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share.

System_CAPS_pubmethodListFilesAndDirectoriesSegmentedAsync(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken)(Nullable<Int32>, FileContinuationToken^, FileRequestOptions^, OperationContext^, CancellationToken)(Nullable<Int32>, FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken)(Nullable(Of Int32), FileContinuationToken, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items in the share.

System_CAPS_protmethodMemberwiseClone()()()()

(Inherited from Object.)

System_CAPS_pubmethodSetMetadataAsync()()()()

Returns a task that performs an asynchronous operation to update the directory's metadata.

System_CAPS_pubmethodSetMetadataAsync(AccessCondition, FileRequestOptions, OperationContext)(AccessCondition^, FileRequestOptions^, OperationContext^)(AccessCondition, FileRequestOptions, OperationContext)(AccessCondition, FileRequestOptions, OperationContext)

Returns a task that performs an asynchronous operation to update the directory's metadata.

System_CAPS_pubmethodSetMetadataAsync(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)(AccessCondition^, FileRequestOptions^, OperationContext^, CancellationToken)(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)(AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Returns a task that performs an asynchronous operation to update the directory's metadata.

System_CAPS_pubmethodSetMetadataAsync(CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)

Returns a task that performs an asynchronous operation to update the directory's metadata.

System_CAPS_pubmethodToString()()()()

(Inherited from Object.)

Remarks

Shares, which are encapsulated as CloudFileShare objects, hold directories, and directories hold files. Directories can also contain sub-directories.

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