Compartilhar via


IModuleAssemblyCleanup.OnRemove(PSModuleInfo) Method

Definition

Gets called when the binary module is unloaded.

public:
 void OnRemove(System::Management::Automation::PSModuleInfo ^ psModuleInfo);
public void OnRemove (System.Management.Automation.PSModuleInfo psModuleInfo);
abstract member OnRemove : System.Management.Automation.PSModuleInfo -> unit
Public Sub OnRemove (psModuleInfo As PSModuleInfo)

Parameters

psModuleInfo
PSModuleInfo

Applies to