Επεξεργασία

Κοινή χρήση μέσω


BasicDesignerLoader.BeginLoad(IDesignerLoaderHost) Method

Definition

Starts the loading process.

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)

Parameters

host
IDesignerLoaderHost

The designer loader host to load.

Exceptions

host is null.

The designer is already loaded, or BeginLoad(IDesignerLoaderHost) has been called with a different designer loader host.

host has been disposed.

Remarks

This is an implementation of the abstract DesignerLoader.BeginLoad method. You do not need to override this method in your own class. The BeginLoad method performs the following actions:

If the designer loader service has not been removed from the service container, BeginLoad will call the IDesignerLoaderService.AddLoadDependency and IDesignerLoaderService.DependentLoadComplete methods instead of the OnBeginLoad and OnEndLoad methods. In this situation, it is the responsibility of the designer loader service to call OnBeginLoad and OnEndLoad.

Applies to

See also