IModuleAssemblyCleanup Interface  
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.
Used by modules to provide a hook to the engine for cleanup on removal w.r.t. compiled assembly being removed.
public interface class IModuleAssemblyCleanuppublic interface IModuleAssemblyCleanup[System.Runtime.CompilerServices.NullableContext(1)]
public interface IModuleAssemblyCleanuptype IModuleAssemblyCleanup = interface[<System.Runtime.CompilerServices.NullableContext(1)>]
type IModuleAssemblyCleanup = interfacePublic Interface IModuleAssemblyCleanup- Attributes
Methods
| OnRemove(PSModuleInfo) | Gets called when the binary module is unloaded. |