GC.GetGCMemoryInfo Method
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
GetGCMemoryInfo() |
Gets garbage collection memory information. |
GetGCMemoryInfo(GCKind) |
Gets garbage collection memory information. |
GetGCMemoryInfo()
- Source:
- GC.CoreCLR.cs
- Source:
- GC.CoreCLR.cs
- Source:
- GC.CoreCLR.cs
Gets garbage collection memory information.
public:
static GCMemoryInfo GetGCMemoryInfo();
public static GCMemoryInfo GetGCMemoryInfo ();
static member GetGCMemoryInfo : unit -> GCMemoryInfo
Public Shared Function GetGCMemoryInfo () As GCMemoryInfo
Returns
An object that contains information about the garbage collector's memory usage.
Applies to
GetGCMemoryInfo(GCKind)
- Source:
- GC.CoreCLR.cs
- Source:
- GC.CoreCLR.cs
- Source:
- GC.CoreCLR.cs
Gets garbage collection memory information.
public:
static GCMemoryInfo GetGCMemoryInfo(GCKind kind);
public static GCMemoryInfo GetGCMemoryInfo (GCKind kind);
static member GetGCMemoryInfo : GCKind -> GCMemoryInfo
Public Shared Function GetGCMemoryInfo (kind As GCKind) As GCMemoryInfo
Parameters
- kind
- GCKind
The kind of collection for which to retrieve memory information.
Returns
An object that contains information about the garbage collector's memory usage.
Applies to
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про