DataServiceContext.SendingRequest Event

Occurs when a new HttpWebRequest has been created.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

Syntax

'Declaration
Public Event SendingRequest As EventHandler(Of SendingRequestEventArgs)
public event EventHandler<SendingRequestEventArgs> SendingRequest

Remarks

The SendingRequest event occurs before the client library sets many of its required property values. This ensures that the client library has the last opportunity to set the value of mandated properties, such as the HTTP verb being used for the request.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.