OpenTelemetryHostedFileClient.ListFilesAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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.