The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft