Change Service. Component Removing Event
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.
Occurs when a component is in the process of being removed.
public: event System::ComponentModel::Design::ComponentEventHandler ^ ComponentRemoving;
event System.ComponentModel.Design.ComponentEventHandler ComponentRemoving;
member this.ComponentRemoving : System.ComponentModel.Design.ComponentEventHandler
Event ComponentRemoving As ComponentEventHandler
This event occurs during unload and when the user deletes a component. You can cancel the process of removing a component by throwing an exception here.