Edit

Share via


BasicDesignerLoader.OnBeginUnload Method

Definition

Notifies the designer loader that unloading is about to begin.

protected:
 virtual void OnBeginUnload();
protected virtual void OnBeginUnload ();
abstract member OnBeginUnload : unit -> unit
override this.OnBeginUnload : unit -> unit
Protected Overridable Sub OnBeginUnload ()

Remarks

The OnBeginUnload method is invoked when the designer loader is about to unload the document.

The document may be unloaded in preparation for reloading, or if the document failed to load. If you added document-specific services in OnBeginLoad or OnEndLoad, remove them here.

Applies to