Share via


DataServiceContext.SendingRequest Event

Occurs when a new HttpWebRequest has been created.

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

Syntax

'Declaration
Public Event SendingRequest As EventHandler(Of SendingRequestEventArgs)
'Usage
Dim instance As DataServiceContext 
Dim handler As EventHandler(Of SendingRequestEventArgs)

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

Remarks

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

See Also

Reference

DataServiceContext Class

System.Data.Services.Client Namespace