Movatterモバイル変換


[0]ホーム

URL:


メイン コンテンツにスキップページ内ナビゲーションにスキップ

このブラウザーはサポートされなくなりました。

Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。

Microsoft Edge をダウンロードするInternet Explorer と Microsoft Edge の詳細情報
目次フォーカス モードの終了

BlobContainerClient.GetBlobsAsync Method

Definition

Namespace:
Azure.Storage.Blobs
Assembly:
Azure.Storage.Blobs.dll
Package:
Azure.Storage.Blobs v12.25.0
Package:
Azure.Storage.Blobs v12.26.0-beta.1
Source:
BlobContainerClient.cs
Source:
BlobContainerClient.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

TheGetBlobsAsync(BlobTraits, BlobStates, String, CancellationToken) operation returns an asyncsequence of blobs in this container. Enumerating the blobs maymake multiple requests to the service while fetching all thevalues. Blobs are ordered lexicographically by name.

For more information, seeList Blobs.

public virtual Azure.AsyncPageable<Azure.Storage.Blobs.Models.BlobItem> GetBlobsAsync(Azure.Storage.Blobs.Models.BlobTraits traits = Azure.Storage.Blobs.Models.BlobTraits.None, Azure.Storage.Blobs.Models.BlobStates states = Azure.Storage.Blobs.Models.BlobStates.None, string prefix = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBlobsAsync : Azure.Storage.Blobs.Models.BlobTraits * Azure.Storage.Blobs.Models.BlobStates * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Storage.Blobs.Models.BlobItem>override this.GetBlobsAsync : Azure.Storage.Blobs.Models.BlobTraits * Azure.Storage.Blobs.Models.BlobStates * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Storage.Blobs.Models.BlobItem>
Public Overridable Function GetBlobsAsync (Optional traits As BlobTraits = Azure.Storage.Blobs.Models.BlobTraits.None, Optional states As BlobStates = Azure.Storage.Blobs.Models.BlobStates.None, Optional prefix As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of BlobItem)

Parameters

traits
BlobTraits

Specifies trait options for shaping the blobs.

states
BlobStates

Specifies state options for filtering the blobs.

prefix
String

Specifies a string that filters the results to return only blobswhose name begins with the specifiedprefix.

cancellationToken
CancellationToken

OptionalCancellationToken to propagatenotifications that the operation should be cancelled.

Returns

AnAsyncPageable<T> describing theblobs in the container.

Remarks

ARequestFailedException will be thrown if a failure occurs. If multiple failures occur, anAggregateException will be thrown, containing each failure instance.

Applies to

GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。

フィードバック

このページはお役に立ちましたか?

Yesいいえ

この記事の内容

このページはお役に立ちましたか?

Yesいいえ