WebPartConnectionsCancelEventArgs 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 WebPartConnectionsCancelEventArgs 類別的新執行個體。
多載
WebPartConnectionsCancelEventArgs(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint)
不使用指定的連接,初始化 WebPartConnectionsCancelEventArgs 類別的新執行個體。
public:
WebPartConnectionsCancelEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ provider, System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ providerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPart ^ consumer, System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ consumerConnectionPoint);
public WebPartConnectionsCancelEventArgs (System.Web.UI.WebControls.WebParts.WebPart provider, System.Web.UI.WebControls.WebParts.ProviderConnectionPoint providerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPart consumer, System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint consumerConnectionPoint);
new System.Web.UI.WebControls.WebParts.WebPartConnectionsCancelEventArgs : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ProviderConnectionPoint * System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint -> System.Web.UI.WebControls.WebParts.WebPartConnectionsCancelEventArgs
Public Sub New (provider As WebPart, providerConnectionPoint As ProviderConnectionPoint, consumer As WebPart, consumerConnectionPoint As ConsumerConnectionPoint)
參數
- provider
- WebPart
提供連接中之資料的 Web 組件控制項。
- providerConnectionPoint
- ProviderConnectionPoint
提供資料的連接點。
- consumer
- WebPart
使用連接中之資料的 Web 組件控制項。
- consumerConnectionPoint
- ConsumerConnectionPoint
使用資料的連接點。
適用於
WebPartConnectionsCancelEventArgs(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartConnection)
使用指定的連接,初始化 WebPartConnectionsCancelEventArgs 類別的新執行個體。
public:
WebPartConnectionsCancelEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ provider, System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ providerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPart ^ consumer, System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ consumerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPartConnection ^ connection);
public WebPartConnectionsCancelEventArgs (System.Web.UI.WebControls.WebParts.WebPart provider, System.Web.UI.WebControls.WebParts.ProviderConnectionPoint providerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPart consumer, System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint consumerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPartConnection connection);
new System.Web.UI.WebControls.WebParts.WebPartConnectionsCancelEventArgs : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ProviderConnectionPoint * System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint * System.Web.UI.WebControls.WebParts.WebPartConnection -> System.Web.UI.WebControls.WebParts.WebPartConnectionsCancelEventArgs
Public Sub New (provider As WebPart, providerConnectionPoint As ProviderConnectionPoint, consumer As WebPart, consumerConnectionPoint As ConsumerConnectionPoint, connection As WebPartConnection)
參數
- provider
- WebPart
提供連接中之資料的 Web 組件控制項。
- providerConnectionPoint
- ProviderConnectionPoint
提供資料的連接點。
- consumer
- WebPart
使用連接中之資料的 Web 組件控制項。
- consumerConnectionPoint
- ConsumerConnectionPoint
使用資料的連接點。
- connection
- WebPartConnection
包含在 WebPartsConnecting 或 WebPartsDisconnecting 事件中的 Web 組件連接。