Udostępnij za pośrednictwem


AssetCollection.CreateAsync Method

Definition

Overloads

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

CreateAsync(String, AssetCreationOptions, CancellationToken)

public override System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IAsset> CreateAsync (string assetName, Microsoft.WindowsAzure.MediaServices.Client.AssetCreationOptions options, System.Threading.CancellationToken cancellationToken);
override this.CreateAsync : string * Microsoft.WindowsAzure.MediaServices.Client.AssetCreationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IAsset>
Public Overrides 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 override System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IAsset> CreateAsync (string assetName, string storageAccountName, Microsoft.WindowsAzure.MediaServices.Client.AssetCreationOptions options, System.Threading.CancellationToken cancellationToken);
override this.CreateAsync : string * string * Microsoft.WindowsAzure.MediaServices.Client.AssetCreationOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IAsset>
Public Overrides 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