AssemblyLoadContext Constructors
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.
Overloads
AssemblyLoadContext() |
Initializes a new instance of the AssemblyLoadContext class. |
AssemblyLoadContext(Boolean) |
Initializes a new instance of the AssemblyLoadContext class with a value that indicates whether unloading is enabled. |
AssemblyLoadContext(String, Boolean) |
Initializes a new instance of the AssemblyLoadContext class with a name and a value that indicates whether unloading is enabled. |
AssemblyLoadContext()
- Source:
- AssemblyLoadContext.cs
- Source:
- AssemblyLoadContext.cs
- Source:
- AssemblyLoadContext.cs
Initializes a new instance of the AssemblyLoadContext class.
protected:
AssemblyLoadContext();
protected AssemblyLoadContext ();
Protected Sub New ()
Remarks
This constructor is protected. It can only be called from the AssemblyLoadContext class or its derived classes.
Applies to
AssemblyLoadContext(Boolean)
- Source:
- AssemblyLoadContext.cs
- Source:
- AssemblyLoadContext.cs
- Source:
- AssemblyLoadContext.cs
Initializes a new instance of the AssemblyLoadContext class with a value that indicates whether unloading is enabled.
protected:
AssemblyLoadContext(bool isCollectible);
protected AssemblyLoadContext (bool isCollectible);
new System.Runtime.Loader.AssemblyLoadContext : bool -> System.Runtime.Loader.AssemblyLoadContext
Protected Sub New (isCollectible As Boolean)
Parameters
- isCollectible
- Boolean
true
to enable Unload(); otherwise, false
. The default value is false
because there is a performance cost associated with enabling unloading.
Remarks
This constructor is protected. It can only be called from the AssemblyLoadContext class or its derived classes.
Applies to
AssemblyLoadContext(String, Boolean)
- Source:
- AssemblyLoadContext.cs
- Source:
- AssemblyLoadContext.cs
- Source:
- AssemblyLoadContext.cs
Initializes a new instance of the AssemblyLoadContext class with a name and a value that indicates whether unloading is enabled.
public AssemblyLoadContext (string? name, bool isCollectible = false);
new System.Runtime.Loader.AssemblyLoadContext : string * bool -> System.Runtime.Loader.AssemblyLoadContext
Public Sub New (name As String, Optional isCollectible As Boolean = false)
Parameters
- isCollectible
- Boolean
true
to enable Unload(); otherwise, false
. The default value is false
because there is a performance cost associated with enabling unloading.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tijekom 2024. postupno ćemo ukinuti servis Problemi sa servisom GitHub kao mehanizam za povratne informacije za sadržaj i zamijeniti ga novim sustavom za povratne informacije. Dodatne informacije potražite u članku:Pošaljite i pogledajte povratne informacije za