Udostępnij za pośrednictwem


IModuleAssemblyCleanup Interface

Definition

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.

Applies to