Share via


IMediaDataServiceContext.LoadPropertyAsync Method (Object, String, Object)

Loads the property asynchronously.

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

Syntax

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

returnValue = instance.LoadPropertyAsync(entity, _
    propertyName, state)
Task<QueryOperationResponse> LoadPropertyAsync(
    Object entity,
    string propertyName,
    Object state
)
Task<QueryOperationResponse^>^ LoadPropertyAsync(
    Object^ entity, 
    String^ propertyName, 
    Object^ state
)
abstract LoadPropertyAsync : 
        entity:Object * 
        propertyName:string * 
        state:Object -> Task<QueryOperationResponse> 
function LoadPropertyAsync(
    entity : Object, 
    propertyName : String, 
    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>.

See Also

Reference

IMediaDataServiceContext Interface

LoadPropertyAsync Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace