本文整理匯總了C#中Microsoft.WindowsAzure.StorageClient.CloudBlobContainer.ListBlobsImpl方法的典型用法代碼示例。如果您正苦於以下問題:C# CloudBlobContainer.ListBlobsImpl方法的具體用法?C# CloudBlobContainer.ListBlobsImpl怎麽用?C# CloudBlobContainer.ListBlobsImpl使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Microsoft.WindowsAzure.StorageClient.CloudBlobContainer
的用法示例。
在下文中一共展示了CloudBlobContainer.ListBlobsImpl方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: ListBlobImpl
/// <summary>
/// Implementation for the ListBlobs method.
/// </summary>
/// <param name="prefix">The blob prefix.</param>
/// <param name="continuationToken">The continuation token.</param>
/// <param name="maxResults">The max results.</param>
/// <param name="options">An object that specifies any additional options for the request.</param>
/// <param name="setResult">The result report delegate.</param>
/// <returns>
/// A <see cref="TaskSequence"/> that lists the blobs.
/// </returns>
private TaskSequence ListBlobImpl(
string prefix,
ResultContinuation continuationToken,
int? maxResults,
BlobRequestOptions options,
Action<ResultSegment<IListBlobItem>> setResult)
{
CommonUtils.AssertContinuationType(continuationToken, ResultContinuation.ContinuationType.Blob);
string containerName = null;
string listingPrefix = null;
ParseUserPrefix(prefix, out containerName, out listingPrefix);
var containerInfo = new CloudBlobContainer(containerName, this);
var fullModifier = BlobRequestOptions.CreateFullModifier(this, options);
return containerInfo.ListBlobsImpl(listingPrefix, fullModifier, continuationToken, maxResults, setResult);
}