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

Return Value

Type: System.Threading.Tasks.Task<IIngestManifestAsset>
Task of type IIngestManifestAsset

See Also

Reference

IngestManifestAssetCollection Class

CreateAsync Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace