Redigera

Dela via


AssemblyLoadContext.Unload Method

Definition

Initiates an unload of this AssemblyLoadContext.

public:
 void Unload();
public void Unload ();
member this.Unload : unit -> unit
Public Sub Unload ()

Exceptions

Unloading is not allowed.

Remarks

  • An AssemblyLoadContext can only be unloaded if it is collectible.
  • Unloading will occur asynchronously.
  • Unloading will not occur while there are references to the AssemblyLoadContext.

Applies to