Lire en anglais

Partager via


IModuleAssemblyCleanup Interface

Definition

Used by modules to provide a hook to the engine for cleanup on removal w.r.t. compiled assembly being removed.

C++
public interface class IModuleAssemblyCleanup
Attributes

Methods

OnRemove(PSModuleInfo)

Gets called when the binary module is unloaded.

Applies to

Produit Versions
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0