Share via


AssetBaseCollection.CreateAsync Method

Definition

Overloads

CreateAsync(String, AssetCreationOptions, CancellationToken)
CreateAsync(String, String, AssetCreationOptions, CancellationToken)

CreateAsync(String, AssetCreationOptions, CancellationToken)

public abstract System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IAsset> CreateAsync (string assetName, Microsoft.WindowsAzure.MediaServices.Client.AssetCreationOptions options, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.MediaServices.Client.AssetCreationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IAsset>
Public MustOverride Function CreateAsync (assetName As String, options As AssetCreationOptions, cancellationToken As CancellationToken) As Task(Of IAsset)

Parameters

assetName
String
cancellationToken
CancellationToken

Returns

Applies to

CreateAsync(String, String, AssetCreationOptions, CancellationToken)

public abstract System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IAsset> CreateAsync (string assetName, string storageAccountName, Microsoft.WindowsAzure.MediaServices.Client.AssetCreationOptions options, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * string * Microsoft.WindowsAzure.MediaServices.Client.AssetCreationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IAsset>
Public MustOverride Function CreateAsync (assetName As String, storageAccountName As String, options As AssetCreationOptions, cancellationToken As CancellationToken) As Task(Of IAsset)

Parameters

assetName
String
storageAccountName
String
cancellationToken
CancellationToken

Returns

Applies to