ClientRuntimeContext.ExecutingWebRequest 事件
當 web 邀請傳送至伺服器發生的事件。
命名空間: Microsoft.SharePoint.Client
組件: Microsoft.SharePoint.Client.Silverlight.Runtime (在 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中); Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中) Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)
語法
'宣告
Public Event ExecutingWebRequest As EventHandler(Of WebRequestEventArgs)
'用途
Dim instance As ClientRuntimeContext
Dim handler As EventHandler(Of WebRequestEventArgs)
AddHandler instance.ExecutingWebRequest, handler
public event EventHandler<WebRequestEventArgs> ExecutingWebRequest
備註
放開滑鼠按鈕時執行ExecuteQuery方法。