IngestManifestAssetCollection.CreateAsync Method (IAsset, String[], CancellationToken)

Creates the manifest asset asyncroniously Overloaded metho with IManifest parameter need to be used,if collection is used from CloudMediaContext.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public Function CreateAsync ( _
    asset As IAsset, _
    files As String(), _
    token As CancellationToken _
) As Task(Of IIngestManifestAsset)
'Usage
Dim instance As IngestManifestAssetCollection 
Dim asset As IAsset 
Dim files As String()
Dim token As CancellationToken 
Dim returnValue As Task(Of IIngestManifestAsset)

returnValue = instance.CreateAsync(asset, _
    files, token)
public Task<IIngestManifestAsset> CreateAsync(
    IAsset asset,
    string[] files,
    CancellationToken token
)
public:
Task<IIngestManifestAsset^>^ CreateAsync(
    IAsset^ asset, 
    array<String^>^ files, 
    CancellationToken token
)
member CreateAsync : 
        asset:IAsset * 
        files:string[] * 
        token:CancellationToken -> Task<IIngestManifestAsset> 
public function CreateAsync(
    asset : IAsset, 
    files : String[], 
    token : CancellationToken
) : Task<IIngestManifestAsset>

Parameters

  • files
    Type: array<System.String[]
    The files which needs to be uploaded and processed.

Return Value

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

See Also

Reference

IngestManifestAssetCollection Class

CreateAsync Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace