共用方式為


WebPartTracker(WebPart, ProviderConnectionPoint) 建構函式

定義

初始化 WebPartTracker 類別的新執行個體。

public:
 WebPartTracker(System::Web::UI::WebControls::WebParts::WebPart ^ webPart, System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ providerConnectionPoint);
public WebPartTracker (System.Web.UI.WebControls.WebParts.WebPart webPart, System.Web.UI.WebControls.WebParts.ProviderConnectionPoint providerConnectionPoint);
new System.Web.UI.WebControls.WebParts.WebPartTracker : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ProviderConnectionPoint -> System.Web.UI.WebControls.WebParts.WebPartTracker
Public Sub New (webPart As WebPart, providerConnectionPoint As ProviderConnectionPoint)

參數

webPart
WebPart

要追蹤循環連接的控制項。

providerConnectionPoint
ProviderConnectionPoint

配合 webPart 使用的連接點。

例外狀況

未提供 webPartproviderConnectionPoint

providerConnectionPoint 不是有效的類型。

適用於