IModuleAssemblyCleanup.OnRemove(PSModuleInfo) 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.
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