LocatorBaseCollection.CreateLocatorAsync Method

Definition

Overloads

CreateLocatorAsync(LocatorType, IAsset, IAccessPolicy)
CreateLocatorAsync(LocatorType, IAsset, IAccessPolicy, Nullable<DateTime>, String)
CreateLocatorAsync(String, LocatorType, IAsset, IAccessPolicy, Nullable<DateTime>, String)

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
startTime
Nullable<DateTime>
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
startTime
Nullable<DateTime>
name
String

Returns

Applies to