Delen via


ContentKeyAuthorizationPolicyOptionCollection.CreateAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ContentKeyAuthorization.IContentKeyAuthorizationPolicyOption> CreateAsync (string name, Microsoft.WindowsAzure.MediaServices.Client.ContentKeyAuthorization.ContentKeyDeliveryType deliveryType, System.Collections.Generic.List<Microsoft.WindowsAzure.MediaServices.Client.ContentKeyAuthorization.ContentKeyAuthorizationPolicyRestriction> restrictions, string keyDeliveryConfiguration);
member this.CreateAsync : string * Microsoft.WindowsAzure.MediaServices.Client.ContentKeyAuthorization.ContentKeyDeliveryType * System.Collections.Generic.List<Microsoft.WindowsAzure.MediaServices.Client.ContentKeyAuthorization.ContentKeyAuthorizationPolicyRestriction> * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ContentKeyAuthorization.IContentKeyAuthorizationPolicyOption>
Public Function CreateAsync (name As String, deliveryType As ContentKeyDeliveryType, restrictions As List(Of ContentKeyAuthorizationPolicyRestriction), keyDeliveryConfiguration As String) As Task(Of IContentKeyAuthorizationPolicyOption)

Parameters

name
String
deliveryType
ContentKeyDeliveryType
keyDeliveryConfiguration
String

Returns

Applies to