共用方式為


TransferManager.GetTransfersAsync(DataTransferStatus[]) Method

Definition

Gets the current transfers stored in the TransferManager.

public virtual System.Collections.Generic.IAsyncEnumerable<Azure.Storage.DataMovement.DataTransfer> GetTransfersAsync (params Azure.Storage.DataMovement.DataTransferStatus[] filterByStatus);
abstract member GetTransfersAsync : Azure.Storage.DataMovement.DataTransferStatus[] -> System.Collections.Generic.IAsyncEnumerable<Azure.Storage.DataMovement.DataTransfer>
override this.GetTransfersAsync : Azure.Storage.DataMovement.DataTransferStatus[] -> System.Collections.Generic.IAsyncEnumerable<Azure.Storage.DataMovement.DataTransfer>
Public Overridable Function GetTransfersAsync (ParamArray filterByStatus As DataTransferStatus()) As IAsyncEnumerable(Of DataTransfer)

Parameters

filterByStatus
DataTransferStatus[]

If specified, the returned list of transfers will have only have the transfers of which match the status specified.

If not specified or specified to None, all transfers will be returned regardless of status.

Returns

Applies to