共用方式為


PowerShellAssemblyLoadContextInitializer Class

Definition

This is the managed entry point for Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll.

public ref class PowerShellAssemblyLoadContextInitializer
public class PowerShellAssemblyLoadContextInitializer
public static class PowerShellAssemblyLoadContextInitializer
type PowerShellAssemblyLoadContextInitializer = class
Public Class PowerShellAssemblyLoadContextInitializer
Inheritance
PowerShellAssemblyLoadContextInitializer

Constructors

PowerShellAssemblyLoadContextInitializer()

Methods

SetPowerShellAssemblyLoadContext(String)

Create a singleton of PowerShellAssemblyLoadContext. Then register to the Resolving event of the load context that loads this assembly.

Applies to