AccessPolicyBaseCollection.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.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
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