Export (0) Print
Expand All

DataServiceContext Events

The DataServiceContext type exposes the following members.

  Name Description
Public event BuildingRequest This event is fired before a request message object is built, giving the handler the opportunity to inspect, adjust and/or replace some request information before the message is built. This event should be used to modify the outgoing Url of the request or alter request headers. After the request is built, other modifications on the WebRequest object can be made in SendingRequest2.
Public event ReadingEntity Occurs after entity data has been completely read into the entity object.
Public event ReceivingResponse 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.
Public event SendingRequest Obsolete. Occurs when a new HttpWebRequest has been created.
Public event SendingRequest2 Occurs when a new HttpWebRequest has been created.
Public event WritingEntity Occurs after an entity has been fully serialized into XML in a request message.
Top
Show:
© 2014 Microsoft