Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Gets the statistics for the current state of the garbage collection system.
Syntax
HRESULT GetStats (
[in, out] COR_GC_STATS *pStats
);
Parameters
pStats
[in, out] A pointer to a COR_GC_STATS structure that contains the statistics for the current state of the garbage collection system.
Remarks
The statistics can be used by a smart allocation system to help the garbage collection system operate. For example, the allocation system may determine, after reviewing the statistics, that it needs to add more memory or force a collection.
Requirements
Platforms: See System Requirements.
Header: GCHost.idl, GCHost.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 2.0