C# Class Microsoft.WindowsAzure.StorageClient.AzureBlobStorageExtensions

显示文件 Open project: AArnott/Microsoft.WindowsAzure.StorageClient.Async

Public Methods

Method Description
CreateIfNotExistAsync ( this container, CancellationToken cancellationToken = default(CancellationToken) ) : Task
DeleteAsync ( this blob ) : Task
DeleteIfExistsAsync ( this blob ) : Task
DownloadToStreamAsync ( this blob, Stream stream ) : Task
FetchAttributesAsync ( this blob ) : Task
ListBlobsSegmentedAsync ( this directory, IProgress progress = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
ListBlobsSegmentedAsync ( this container, bool useFlatBlobListing, int pageSize, BlobListingDetails details, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, IProgress progress = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
ListBlobsSegmentedAsync ( this container, string prefix, bool useFlatBlobListing, int pageSize, BlobListingDetails details, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, IProgress progress = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
SetMetadataAsync ( this blob ) : Task
SetPermissionsAsync ( this container, BlobContainerPermissions permissions ) : Task
UploadFromStreamAsync ( this blob, Stream stream ) : Task

Method Details

CreateIfNotExistAsync() public static method

public static CreateIfNotExistAsync ( this container, CancellationToken cancellationToken = default(CancellationToken) ) : Task
container this
cancellationToken System.Threading.CancellationToken
return Task

DeleteAsync() public static method

public static DeleteAsync ( this blob ) : Task
blob this
return Task

DeleteIfExistsAsync() public static method

public static DeleteIfExistsAsync ( this blob ) : Task
blob this
return Task

DownloadToStreamAsync() public static method

public static DownloadToStreamAsync ( this blob, Stream stream ) : Task
blob this
stream Stream
return Task

FetchAttributesAsync() public static method

public static FetchAttributesAsync ( this blob ) : Task
blob this
return Task

ListBlobsSegmentedAsync() public static method

public static ListBlobsSegmentedAsync ( this directory, IProgress progress = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
directory this
progress IProgress
cancellationToken System.Threading.CancellationToken
return Task>

ListBlobsSegmentedAsync() public static method

public static ListBlobsSegmentedAsync ( this container, bool useFlatBlobListing, int pageSize, BlobListingDetails details, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, IProgress progress = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
container this
useFlatBlobListing bool
pageSize int
details BlobListingDetails
options Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions
operationContext Microsoft.WindowsAzure.Storage.OperationContext
progress IProgress
cancellationToken System.Threading.CancellationToken
return Task>

ListBlobsSegmentedAsync() public static method

public static ListBlobsSegmentedAsync ( this container, string prefix, bool useFlatBlobListing, int pageSize, BlobListingDetails details, Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, IProgress progress = null, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
container this
prefix string
useFlatBlobListing bool
pageSize int
details BlobListingDetails
options Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions
operationContext Microsoft.WindowsAzure.Storage.OperationContext
progress IProgress
cancellationToken System.Threading.CancellationToken
return Task>

SetMetadataAsync() public static method

public static SetMetadataAsync ( this blob ) : Task
blob this
return Task

SetPermissionsAsync() public static method

public static SetPermissionsAsync ( this container, BlobContainerPermissions permissions ) : Task
container this
permissions BlobContainerPermissions
return Task

UploadFromStreamAsync() public static method

public static UploadFromStreamAsync ( this blob, Stream stream ) : Task
blob this
stream Stream
return Task