Udostępnij za pośrednictwem


AccessPolicyBaseCollection.CreateAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy> CreateAsync (string name, TimeSpan duration, Microsoft.WindowsAzure.MediaServices.Client.AccessPermissions permissions);
member this.CreateAsync : string * TimeSpan * Microsoft.WindowsAzure.MediaServices.Client.AccessPermissions -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy>
Public Function CreateAsync (name As String, duration As TimeSpan, permissions As AccessPermissions) As Task(Of IAccessPolicy)

Parameters

name
String
duration
TimeSpan
permissions
AccessPermissions

Returns

Applies to