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 部件连接。