AssetDeliveryPolicyCollection.CreateAsync(String, AssetDeliveryPolicyType, AssetDeliveryProtocol, Dictionary<AssetDeliveryPolicyConfigurationKey,String>) Method

Definition

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.DynamicEncryption.IAssetDeliveryPolicy> CreateAsync (string name, Microsoft.WindowsAzure.MediaServices.Client.DynamicEncryption.AssetDeliveryPolicyType policyType, Microsoft.WindowsAzure.MediaServices.Client.DynamicEncryption.AssetDeliveryProtocol deliveryProtocol, System.Collections.Generic.Dictionary<Microsoft.WindowsAzure.MediaServices.Client.DynamicEncryption.AssetDeliveryPolicyConfigurationKey,string> configuration);
member this.CreateAsync : string * Microsoft.WindowsAzure.MediaServices.Client.DynamicEncryption.AssetDeliveryPolicyType * Microsoft.WindowsAzure.MediaServices.Client.DynamicEncryption.AssetDeliveryProtocol * System.Collections.Generic.Dictionary<Microsoft.WindowsAzure.MediaServices.Client.DynamicEncryption.AssetDeliveryPolicyConfigurationKey, string> -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.DynamicEncryption.IAssetDeliveryPolicy>
Public Function CreateAsync (name As String, policyType As AssetDeliveryPolicyType, deliveryProtocol As AssetDeliveryProtocol, configuration As Dictionary(Of AssetDeliveryPolicyConfigurationKey, String)) As Task(Of IAssetDeliveryPolicy)

Parameters

name
String
deliveryProtocol
AssetDeliveryProtocol

Returns

Task<IAssetDeliveryPolicy>

Applies to