BasicDesignerLoader.Initialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes services.
protected:
virtual void Initialize();
protected virtual void Initialize ();
abstract member Initialize : unit -> unit
override this.Initialize : unit -> unit
Protected Overridable Sub Initialize ()
Exceptions
The IDesignerLoaderHost has not been initialized.
The IDesignerLoaderHost has been disposed.
Remarks
The Initialize method is called the first time BeginLoad is invoked. You can add any services necessary to the designer loader host at this time. The base implementation adds services that BasicDesignerLoader provides, so after calling the base implementation you may replace existing services. You must remove any custom services you add here by overriding Dispose.