Duration (Pacific Standard Time):
To (Pacific Standard Time):
  • None
User Action:
  • None

DataServiceContext.ReceivingResponse Event

This event fires when a response is received by the client. It fires for both top level responses and each operation or query within a batch response.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Public Event ReceivingResponse As EventHandler(Of ReceivingResponseEventArgs)
Dim instance As DataServiceContext 
Dim handler As EventHandler(Of ReceivingResponseEventArgs)

AddHandler instance.ReceivingResponse, handler

On top level requests, the event is fired before any processing is done. For inner batch operations, the event is also fired before any processing is done, with the exception that the content-ID of a changeset operation will be read before the event is fired.