LocatorBaseCollection.CreateLocatorAsync 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.
Overloads
CreateLocatorAsync(LocatorType, IAsset, IAccessPolicy)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ILocator> CreateLocatorAsync(Microsoft.WindowsAzure.MediaServices.Client.LocatorType locatorType, Microsoft.WindowsAzure.MediaServices.Client.IAsset asset, Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy accessPolicy);
member this.CreateLocatorAsync : Microsoft.WindowsAzure.MediaServices.Client.LocatorType * Microsoft.WindowsAzure.MediaServices.Client.IAsset * Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ILocator>
Public Function CreateLocatorAsync (locatorType As LocatorType, asset As IAsset, accessPolicy As IAccessPolicy) As Task(Of ILocator)
Parameters
- locatorType
- LocatorType
- asset
- IAsset
- accessPolicy
- IAccessPolicy
Returns
Applies to
CreateLocatorAsync(LocatorType, IAsset, IAccessPolicy, Nullable<DateTime>, String)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ILocator> CreateLocatorAsync(Microsoft.WindowsAzure.MediaServices.Client.LocatorType locatorType, Microsoft.WindowsAzure.MediaServices.Client.IAsset asset, Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy accessPolicy, DateTime? startTime, string name = default);
member this.CreateLocatorAsync : Microsoft.WindowsAzure.MediaServices.Client.LocatorType * Microsoft.WindowsAzure.MediaServices.Client.IAsset * Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy * Nullable<DateTime> * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ILocator>
Public Function CreateLocatorAsync (locatorType As LocatorType, asset As IAsset, accessPolicy As IAccessPolicy, startTime As Nullable(Of DateTime), Optional name As String = Nothing) As Task(Of ILocator)
Parameters
- locatorType
- LocatorType
- asset
- IAsset
- accessPolicy
- IAccessPolicy
- name
- String
Returns
Applies to
CreateLocatorAsync(String, LocatorType, IAsset, IAccessPolicy, Nullable<DateTime>, String)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ILocator> CreateLocatorAsync(string locatorId, Microsoft.WindowsAzure.MediaServices.Client.LocatorType locatorType, Microsoft.WindowsAzure.MediaServices.Client.IAsset asset, Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy accessPolicy, DateTime? startTime, string name = default);
member this.CreateLocatorAsync : string * Microsoft.WindowsAzure.MediaServices.Client.LocatorType * Microsoft.WindowsAzure.MediaServices.Client.IAsset * Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy * Nullable<DateTime> * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ILocator>
Public Function CreateLocatorAsync (locatorId As String, locatorType As LocatorType, asset As IAsset, accessPolicy As IAccessPolicy, startTime As Nullable(Of DateTime), Optional name As String = Nothing) As Task(Of ILocator)
Parameters
- locatorId
- String
- locatorType
- LocatorType
- asset
- IAsset
- accessPolicy
- IAccessPolicy
- name
- String
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET