IngestManifestAssetCollection.CreateAsync Method (IAsset, CancellationToken)
Creates the empty manifest asset asyncroniosly.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Function CreateAsync ( _
asset As IAsset, _
cancellationToken As CancellationToken _
) As Task(Of IIngestManifestAsset)
'Usage
Dim instance As IngestManifestAssetCollection
Dim asset As IAsset
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of IIngestManifestAsset)
returnValue = instance.CreateAsync(asset, _
cancellationToken)
public Task<IIngestManifestAsset> CreateAsync(
IAsset asset,
CancellationToken cancellationToken
)
public:
Task<IIngestManifestAsset^>^ CreateAsync(
IAsset^ asset,
CancellationToken cancellationToken
)
member CreateAsync :
asset:IAsset *
cancellationToken:CancellationToken -> Task<IIngestManifestAsset>
public function CreateAsync(
asset : IAsset,
cancellationToken : CancellationToken
) : Task<IIngestManifestAsset>
Parameters
- asset
Type: Microsoft.WindowsAzure.MediaServices.Client.IAsset
The destination asset for which uploaded and processed files will be associated
- cancellationToken
Type: System.Threading.CancellationToken
The cancellation token.
Return Value
Type: System.Threading.Tasks.Task<IIngestManifestAsset>
Task of type IIngestManifestAsset