OpenTelemetryHostedFileClient.ListFilesAsync Methode

Definitie

Hier vindt u een lijst met bestanden die toegankelijk zijn voor deze client.

public override System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.AI.HostedFileContent> ListFilesAsync(Microsoft.Extensions.AI.HostedFileClientOptions? options = default, System.Threading.CancellationToken cancellationToken = default);
override this.ListFilesAsync : Microsoft.Extensions.AI.HostedFileClientOptions * System.Threading.CancellationToken -> System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.AI.HostedFileContent>
Public Overrides Function ListFilesAsync (Optional options As HostedFileClientOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As IAsyncEnumerable(Of HostedFileContent)

Parameters

options
HostedFileClientOptions

Opties voor het configureren van de vermelding.

cancellationToken
CancellationToken

De CancellationToken te controleren op annuleringsaanvragen. De standaardwaarde is None.

Retouren

Een asynchrone opsomming van bestandsgegevens.

Van toepassing op