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)

Syntax

'Declaration
Public Event ReceivingResponse As EventHandler(Of ReceivingResponseEventArgs)
'Usage
Dim instance As DataServiceContext 
Dim handler As EventHandler(Of ReceivingResponseEventArgs)

AddHandler instance.ReceivingResponse, handler
public event EventHandler<ReceivingResponseEventArgs> ReceivingResponse
public:
 event EventHandler<ReceivingResponseEventArgs^>^ ReceivingResponse {
    void add (EventHandler<ReceivingResponseEventArgs^>^ value);
    void remove (EventHandler<ReceivingResponseEventArgs^>^ value);
}
member ReceivingResponse : IEvent<EventHandler<ReceivingResponseEventArgs>,
    ReceivingResponseEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

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.

See Also

Reference

DataServiceContext Class

System.Data.Services.Client Namespace