Udostępnij za pośrednictwem


DataServiceContext.SendingRequest2 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 SendingRequest2 As EventHandler(Of SendingRequest2EventArgs)
'Usage
Dim instance As DataServiceContext 
Dim handler As EventHandler(Of SendingRequest2EventArgs)

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

See Also

Reference

DataServiceContext Class

System.Data.Services.Client Namespace