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

System.Threading.Tasks.Task<ILocator>

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, Nullable<DateTime> startTime, string name = null);
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 = null) As Task(Of ILocator)

Parameters

asset
IAsset
accessPolicy
IAccessPolicy
startTime
System.Nullable<System.DateTime>
name
System.String

Returns

System.Threading.Tasks.Task<ILocator>

Applies to