Share via


MediaAssetTrackCollection.GetAllAsync(CancellationToken) Method

Definition

Lists the Tracks in the asset

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/tracks
  • Operation Id: Tracks_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Media.MediaAssetTrackResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Media.MediaAssetTrackResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Media.MediaAssetTrackResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MediaAssetTrackResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of MediaAssetTrackResource that may take multiple service requests to iterate over.

Applies to