DataServiceAsyncExtensions.LoadPropertyAsync Method (DataServiceContext, Object, String, Object)

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


<ExtensionAttribute> _
Public Shared Function LoadPropertyAsync ( _
    context As DataServiceContext, _
    entity As Object, _
    propertyName As String, _
    state As Object _
) As Task(Of QueryOperationResponse)
Dim context As DataServiceContext 
Dim entity As Object 
Dim propertyName As String 
Dim state As Object 
Dim returnValue As Task(Of QueryOperationResponse)

returnValue = context.LoadPropertyAsync(entity, _
    propertyName, state)
public static Task<QueryOperationResponse> LoadPropertyAsync(
    this DataServiceContext context,
    Object entity,
    string propertyName,
    Object state
static Task<QueryOperationResponse^>^ LoadPropertyAsync(
    DataServiceContext^ context, 
    Object^ entity, 
    String^ propertyName, 
    Object^ state
static member LoadPropertyAsync : 
        context:DataServiceContext * 
        entity:Object * 
        propertyName:string * 
        state:Object -> Task<QueryOperationResponse> 
public static function LoadPropertyAsync(
    context : DataServiceContext, 
    entity : Object, 
    propertyName : String, 
    state : Object
) : Task<QueryOperationResponse>


Return Value

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

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DataServiceContext. When you use instance method syntax to call this method, omit the first parameter. For more information, see or

See Also


DataServiceAsyncExtensions Class

LoadPropertyAsync Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace