IngestManifestFileCollection.CreateAsync Method (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 ( _
filePath As String, _
token As CancellationToken _
) As Task(Of IIngestManifestFile)
'Usage
Dim instance As IngestManifestFileCollection
Dim filePath As String
Dim token As CancellationToken
Dim returnValue As Task(Of IIngestManifestFile)
returnValue = instance.CreateAsync(filePath, _
token)
public Task<IIngestManifestFile> CreateAsync(
string filePath,
CancellationToken token
)
public:
Task<IIngestManifestFile^>^ CreateAsync(
String^ filePath,
CancellationToken token
)
member CreateAsync :
filePath:string *
token:CancellationToken -> Task<IIngestManifestFile>
public function CreateAsync(
filePath : String,
token : CancellationToken
) : Task<IIngestManifestFile>
Parameters
- 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