WebPartManager.OnConnectionsActivating(EventArgs) 方法

定義

引發 ConnectionsActivating 事件,以表示頁面及其控制項已載入,並且可以開始啟動連接的程序。

protected:
 virtual void OnConnectionsActivating(EventArgs ^ e);
protected virtual void OnConnectionsActivating (EventArgs e);
abstract member OnConnectionsActivating : EventArgs -> unit
override this.OnConnectionsActivating : EventArgs -> unit
Protected Overridable Sub OnConnectionsActivating (e As EventArgs)

參數

e
EventArgs

包含事件資料的 EventArgs

備註

方法 OnConnectionsActivating 會引發 ConnectionsActivating 事件,為開發人員提供一種機制,以程式設計方式自訂啟動連線的程式。

頁面開發人員可以將屬性新增 OnConnectionsActivating<asp:webpartmanager> 頁面中的 元素,然後將自訂方法名稱指派給 屬性,以新增事件的自訂處理常式。

給繼承者的注意事項

開發人員可以覆寫 OnConnectionsActivating(EventArgs) 衍生 WebPartManager 類別中的 方法。

適用於

另請參閱