Share via


LocatorBaseCollection.CreateLocator Method (LocatorType, IAsset, IAccessPolicy)

Creates the locator.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public Function CreateLocator ( _
    locatorType As LocatorType, _
    asset As IAsset, _
    accessPolicy As IAccessPolicy _
) As ILocator
'Usage
Dim instance As LocatorBaseCollection 
Dim locatorType As LocatorType 
Dim asset As IAsset 
Dim accessPolicy As IAccessPolicy 
Dim returnValue As ILocator 

returnValue = instance.CreateLocator(locatorType, _
    asset, accessPolicy)
public ILocator CreateLocator(
    LocatorType locatorType,
    IAsset asset,
    IAccessPolicy accessPolicy
)
public:
ILocator^ CreateLocator(
    LocatorType locatorType, 
    IAsset^ asset, 
    IAccessPolicy^ accessPolicy
)
member CreateLocator : 
        locatorType:LocatorType * 
        asset:IAsset * 
        accessPolicy:IAccessPolicy -> ILocator
public function CreateLocator(
    locatorType : LocatorType, 
    asset : IAsset, 
    accessPolicy : IAccessPolicy
) : ILocator

Parameters

Return Value

Type: Microsoft.WindowsAzure.MediaServices.Client.ILocator
A function delegate that returns the future result to be available through the Task<ILocator>.

See Also

Reference

LocatorBaseCollection Class

CreateLocator Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace