AssetDeliveryPolicyCollection.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- policyType
- AssetDeliveryPolicyType
- deliveryProtocol
- AssetDeliveryProtocol
- configuration
- Dictionary<AssetDeliveryPolicyConfigurationKey,String>
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET