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 IModuleAssemblyCleanup
public interface IModuleAssemblyCleanup
[System.Runtime.CompilerServices.NullableContext(1)]
public interface IModuleAssemblyCleanup
type IModuleAssemblyCleanup = interface
[<System.Runtime.CompilerServices.NullableContext(1)>]
type IModuleAssemblyCleanup = interface
Public Interface IModuleAssemblyCleanup
- Attributes
Methods
OnRemove(PSModuleInfo) |
Gets called when the binary module is unloaded. |