Share via


BasicDesignerLoader.BeginLoad(IDesignerLoaderHost) 方法

定義

啟動載入處理序。

public:
 override void BeginLoad(System::ComponentModel::Design::Serialization::IDesignerLoaderHost ^ host);
public override void BeginLoad (System.ComponentModel.Design.Serialization.IDesignerLoaderHost host);
override this.BeginLoad : System.ComponentModel.Design.Serialization.IDesignerLoaderHost -> unit
Public Overrides Sub BeginLoad (host As IDesignerLoaderHost)

參數

host
IDesignerLoaderHost

要載入的設計工具載入器主應用程式。

例外狀況

hostnull

設計工具已載入,或已使用其他設計工具載入器主應用程式呼叫 BeginLoad(IDesignerLoaderHost)

已處置 host

備註

這是抽象 DesignerLoader.BeginLoad 方法的實作。 您不需要在自己的類別中覆寫這個方法。 BeginLoad 方法會執行下列動作:

如果設計工具載入器服務尚未從服務容器中移除,則會呼叫 IDesignerLoaderService.AddLoadDependency 和方法,BeginLoad而不是 OnBeginLoadOnEndLoadIDesignerLoaderService.DependentLoadComplete 方法。 在這裡情況下,設計工具載入器服務負責通叫 OnBeginLoadOnEndLoad

適用於

另請參閱