共用方式為


ClientRuntimeContext.ExecutingWebRequest Event

An event that is raised when the Web request is sent to the server.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Public Event ExecutingWebRequest As EventHandler(Of WebRequestEventArgs)
'Usage
Dim instance As ClientRuntimeContext
Dim handler As EventHandler(Of WebRequestEventArgs)

AddHandler instance.ExecutingWebRequest, handler
public event EventHandler<WebRequestEventArgs> ExecutingWebRequest

Remarks

This event fires when the ExecuteQuery() method is executed.

See Also

Reference

ClientRuntimeContext Class

ClientRuntimeContext Members

Microsoft.SharePoint.Client Namespace