Share via


LocatorBaseCollection.CreateSasLocatorAsync Method

Definition

Overloads

CreateSasLocatorAsync(IAsset, IAccessPolicy)
CreateSasLocatorAsync(IAsset, IAccessPolicy, Nullable<DateTime>, String)

CreateSasLocatorAsync(IAsset, IAccessPolicy)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ILocator> CreateSasLocatorAsync (Microsoft.WindowsAzure.MediaServices.Client.IAsset asset, Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy accessPolicy);
member this.CreateSasLocatorAsync : Microsoft.WindowsAzure.MediaServices.Client.IAsset * Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ILocator>
Public Function CreateSasLocatorAsync (asset As IAsset, accessPolicy As IAccessPolicy) As Task(Of ILocator)

Parameters

asset
IAsset
accessPolicy
IAccessPolicy

Returns

Applies to

CreateSasLocatorAsync(IAsset, IAccessPolicy, Nullable<DateTime>, String)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ILocator> CreateSasLocatorAsync (Microsoft.WindowsAzure.MediaServices.Client.IAsset asset, Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy accessPolicy, DateTime? startTime, string name = default);
member this.CreateSasLocatorAsync : Microsoft.WindowsAzure.MediaServices.Client.IAsset * Microsoft.WindowsAzure.MediaServices.Client.IAccessPolicy * Nullable<DateTime> * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MediaServices.Client.ILocator>
Public Function CreateSasLocatorAsync (asset As IAsset, accessPolicy As IAccessPolicy, startTime As Nullable(Of DateTime), Optional name As String = Nothing) As Task(Of ILocator)

Parameters

asset
IAsset
accessPolicy
IAccessPolicy
startTime
Nullable<DateTime>
name
String

Returns

Applies to