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.
Sets the segment size and the maximum size for generation 0.
Important
Starting with .NET Framework 4.5, you can set segment size and maximum generation 0 size to values greater than DWORD by using the IGCHost2::SetGCStartupLimitsEx method.
Syntax
HRESULT SetGCStartupLimits (
[in] DWORD SegmentSize,
[in] DWORD MaxGen0Size
);
Parameters
SegmentSize
[in] The size of the segment used by the garbage collection system.
MaxGen0Size
[in] The maximum size for generation 0.
Remarks
The SetGCStartupLimits method may be called only once. These values cannot be changed later.
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