GCPressureAttribute 클래스

정의

Microsoft 내부에서만 사용합니다.

public ref class GCPressureAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class GCPressureAttribute final : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
/// [Windows.Foundation.Metadata.AttributeName("gc_pressure")]
class GCPressureAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class GCPressureAttribute : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
[Windows.Foundation.Metadata.AttributeName("gc_pressure")]
public sealed class GCPressureAttribute : Attribute
function GCPressureAttribute()
Public NotInheritable Class GCPressureAttribute
Inherits Attribute
상속
GCPressureAttribute
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.FoundationContract (v1.0에서 도입되었습니다.)

설명

상당한 양의 네이티브 메모리를 사용하는 Windows 런타임 API를 사용하여 JavaScript 및 .NET Framework 같은 GC(가비지 수집) 환경에 메모리 공간을 알릴 수 있습니다. GCPressureAttribute를 적용하면 가비지 수집 스윕을 효율적으로 예약할 수 있습니다.

GC 환경은 Windows 네임스페이스 외부에 있는 Windows 런타임 개체의 특성을 명시적으로 무시합니다.

생성자

GCPressureAttribute()

특성의 새 instance 만들고 초기화합니다.

필드

amount

Microsoft 내부에서만 사용합니다.

적용 대상

추가 정보