Udostępnij za pośrednictwem


DataServiceContext.EndLoadProperty Method

Called to complete the BeginLoadProperty operation.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Public Function EndLoadProperty ( _
    asyncResult As IAsyncResult _
) As QueryOperationResponse
'Usage
Dim instance As DataServiceContext 
Dim asyncResult As IAsyncResult 
Dim returnValue As QueryOperationResponse 

returnValue = instance.EndLoadProperty(asyncResult)
public QueryOperationResponse EndLoadProperty(
    IAsyncResult asyncResult
)
public:
QueryOperationResponse^ EndLoadProperty(
    IAsyncResult^ asyncResult
)
member EndLoadProperty : 
        asyncResult:IAsyncResult -> QueryOperationResponse
public function EndLoadProperty(
    asyncResult : IAsyncResult
) : QueryOperationResponse

Parameters

Return Value

Type: System.Data.Services.Client.QueryOperationResponse
The response to the load operation.

Remarks

If an error occurs during the request or while processing the response from the data service, an exception is thrown.

See Also

Reference

DataServiceContext Class

System.Data.Services.Client Namespace