Metodo DataServiceContext.EndExecuteBatch
Chiamato per completare il metodo BeginExecuteBatch.
Spazio dei nomi System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Sintassi
'Dichiarazione
Public Function EndExecuteBatch ( _
asyncResult As IAsyncResult _
) As DataServiceResponse
'Utilizzo
Dim instance As DataServiceContext
Dim asyncResult As IAsyncResult
Dim returnValue As DataServiceResponse
returnValue = instance.EndExecuteBatch(asyncResult)
public DataServiceResponse EndExecuteBatch(
IAsyncResult asyncResult
)
public:
DataServiceResponse^ EndExecuteBatch(
IAsyncResult^ asyncResult
)
member EndExecuteBatch :
asyncResult:IAsyncResult -> DataServiceResponse
public function EndExecuteBatch(
asyncResult : IAsyncResult
) : DataServiceResponse
Parametri
- asyncResult
Tipo: System.IAsyncResult
Oggetto IAsyncResult che rappresenta lo stato dell'operazione asincrona.
Valore restituito
Tipo: System.Data.Services.Client.DataServiceResponse
Oggetto DataServiceResult che indica il risultato dell'operazione batch.
Osservazioni
Invia un gruppo di query come batch al servizio dati. Le singole risposte alle query vengono rappresentate come oggetti DataServiceResponse derivati da OperationResponse a cui è possibile accedere dall'istanza di DataServiceResponse.