DataServiceContext.EndExecuteBatch-Methode
Wird aufgerufen, um BeginExecuteBatch abzuschließen.
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Function EndExecuteBatch ( _
asyncResult As IAsyncResult _
) As DataServiceResponse
'Usage
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
Parameter
- asyncResult
Typ: System.IAsyncResult
Ein IAsyncResult zur Darstellung des Status eines asynchronen Vorgangs.
Rückgabewert
Typ: System.Data.Services.Client.DataServiceResponse
Das DataServiceResult-Objekt, das das Ergebnis des Batchvorgangs angibt.
Hinweise
Sendet eine Gruppe von Abfragen als Batch an den Datendienst. Einzelne Abfrageantworten werden als DataServiceResponse-Objekte dargestellt, die von OperationResponse abgeleitet werden. Der Zugriff darauf besteht von der DataServiceResponse-Instanz.