IngestManifestFileCollection.CreateAsync Method (IIngestManifestAsset, String, CancellationToken)
Creates the manifest asset file asynchronously.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Function CreateAsync ( _
ingestManifestAsset As IIngestManifestAsset, _
filePath As String, _
token As CancellationToken _
) As Task(Of IIngestManifestFile)
'Usage
Dim instance As IngestManifestFileCollection
Dim ingestManifestAsset As IIngestManifestAsset
Dim filePath As String
Dim token As CancellationToken
Dim returnValue As Task(Of IIngestManifestFile)
returnValue = instance.CreateAsync(ingestManifestAsset, _
filePath, token)
public Task<IIngestManifestFile> CreateAsync(
IIngestManifestAsset ingestManifestAsset,
string filePath,
CancellationToken token
)
public:
Task<IIngestManifestFile^>^ CreateAsync(
IIngestManifestAsset^ ingestManifestAsset,
String^ filePath,
CancellationToken token
)
member CreateAsync :
ingestManifestAsset:IIngestManifestAsset *
filePath:string *
token:CancellationToken -> Task<IIngestManifestFile>
public function CreateAsync(
ingestManifestAsset : IIngestManifestAsset,
filePath : String,
token : CancellationToken
) : Task<IIngestManifestFile>
Parameters
- ingestManifestAsset
Type: Microsoft.WindowsAzure.MediaServices.Client.IIngestManifestAsset
The parent manifest asset.
- filePath
Type: System.String
The file path.
- token
Type: System.Threading.CancellationToken
CancellationToken
Return Value
Type: System.Threading.Tasks.Task<IIngestManifestFile>
Task of type IIngestManifestFile