Metodo DataServiceContext.EndLoadProperty
Chiamato per completare l'operazione BeginLoadProperty.
Spazio dei nomi System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Sintassi
'Dichiarazione
Public Function EndLoadProperty ( _
asyncResult As IAsyncResult _
) As QueryOperationResponse
'Utilizzo
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
Parametri
- asyncResult
Tipo: System.IAsyncResult
Oggetto IAsyncResult che rappresenta lo stato dell'operazione asincrona.
Valore restituito
Tipo: System.Data.Services.Client.QueryOperationResponse
Risposta all'operazione di caricamento.
Osservazioni
Se si verifica un errore durante la richiesta o l'elaborazione della risposta dal servizio dati, viene generata un'eccezione.