WebPartTracker(WebPart, ProviderConnectionPoint) WebPartTracker(WebPart, ProviderConnectionPoint) WebPartTracker(WebPart, ProviderConnectionPoint) Constructor

定義

初始化 WebPartTracker 類別的新執行個體。Initializes a new instance of the WebPartTracker class.

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

參數

webPart
WebPart WebPart WebPart

要追蹤循環連接的控制項。The control to track for circular connections.

providerConnectionPoint
ProviderConnectionPoint ProviderConnectionPoint ProviderConnectionPoint

配合 webPart 使用的連接點。The connection point used with webPart.

例外狀況

未提供 webPartproviderConnectionPointwebPart or providerConnectionPoint is not provided.

providerConnectionPoint 不是有效的類型。providerConnectionPoint is not a valid type.

適用於