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

DataServiceContext.SendingRequest Event

Note: This API is now obsolete.

Occurs when a new HttpWebRequest has been created.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
<ObsoleteAttribute("SendingRequest2 has been deprecated in favor of SendingRequest2.")> _
Public Event SendingRequest As EventHandler(Of SendingRequestEventArgs)
Dim instance As DataServiceContext 
Dim handler As EventHandler(Of SendingRequestEventArgs)

AddHandler instance.SendingRequest, handler

The SendingRequest event occurs before the required property values are set on the object.