Share via


MediaDataServiceContext.LoadPropertyAsync Method (Object, String, Uri, Object)

Loads the property asynchronously.

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

Syntax

'Declaration
Public Function LoadPropertyAsync ( _
    entity As Object, _
    propertyName As String, _
    nextLinkUri As Uri, _
    state As Object _
) As Task(Of QueryOperationResponse)
'Usage
Dim instance As MediaDataServiceContext 
Dim entity As Object 
Dim propertyName As String 
Dim nextLinkUri As Uri 
Dim state As Object 
Dim returnValue As Task(Of QueryOperationResponse)

returnValue = instance.LoadPropertyAsync(entity, _
    propertyName, nextLinkUri, state)
public Task<QueryOperationResponse> LoadPropertyAsync(
    Object entity,
    string propertyName,
    Uri nextLinkUri,
    Object state
)
public:
virtual Task<QueryOperationResponse^>^ LoadPropertyAsync(
    Object^ entity, 
    String^ propertyName, 
    Uri^ nextLinkUri, 
    Object^ state
) sealed
abstract LoadPropertyAsync : 
        entity:Object * 
        propertyName:string * 
        nextLinkUri:Uri * 
        state:Object -> Task<QueryOperationResponse> 
override LoadPropertyAsync : 
        entity:Object * 
        propertyName:string * 
        nextLinkUri:Uri * 
        state:Object -> Task<QueryOperationResponse> 
public final function LoadPropertyAsync(
    entity : Object, 
    propertyName : String, 
    nextLinkUri : Uri, 
    state : Object
) : Task<QueryOperationResponse>

Parameters

  • entity
    Type: System.Object
    The entity that contains the property to load.

Return Value

Type: System.Threading.Tasks.Task<QueryOperationResponse>
Returns Task<TResult>.

Implements

IMediaDataServiceContext.LoadPropertyAsync(Object, String, Uri, Object)

See Also

Reference

MediaDataServiceContext Class

LoadPropertyAsync Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace