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

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

Syntax

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

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

Parameters

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 https://msdn.microsoft.com/en-us/library/bb384936(v=azure.10) or https://msdn.microsoft.com/en-us/library/bb383977(v=azure.10).

See Also

Reference

DataServiceAsyncExtensions Class

LoadPropertyAsync Overload

Microsoft.WindowsAzure.MediaServices.Client Namespace