AppDomain.MonitoringIsEnabled 속성

정의

현재 프로세스에 애플리케이션 도메인의 CPU 및 메모리 모니터링을 사용할 수 있는지를 나타내는 값을 가져오거나 설정합니다. 프로세스에 모니터링을 사용할 수 있는 경우 사용하지 못하도록 설정할 수 없습니다.

public:
 static property bool MonitoringIsEnabled { bool get(); void set(bool value); };
public static bool MonitoringIsEnabled { get; set; }
public static bool MonitoringIsEnabled { [System.Security.SecurityCritical] get; [System.Security.SecurityCritical] set; }
static member MonitoringIsEnabled : bool with get, set
[<get: System.Security.SecurityCritical>]
[<set: System.Security.SecurityCritical>]
static member MonitoringIsEnabled : bool with get, set
Public Shared Property MonitoringIsEnabled As Boolean

속성 값

모니터링을 사용할 수 있으면 true이고, 그렇지 않으면 false입니다.

특성

예외

현재 프로세스가 이 속성에 false 값을 할당하려 했습니다.

설명

이렇게 static 속성 (Shared 속성 Visual Basic) CPU 및 메모리 모니터링 프로세스의 모든 애플리케이션 도메인을 제어 합니다.

이 속성을 로 설정하려고 하면 속성 falseArgumentException 의 현재 값이 인 경우에도 예외가 throw됩니다false.

모니터링이 활성화 되 면 사용할 수는 MonitoringSurvivedMemorySize, MonitoringSurvivedProcessMemorySizeMonitoringTotalAllocatedMemorySize, 및 MonitoringTotalProcessorTime 인스턴스 개별 애플리케이션 도메인의 CPU 및 메모리 사용을 모니터링 하는 속성입니다.

적용 대상

추가 정보