다음을 통해 공유


LoadTest.ThresholdExceeded 이벤트

임계값 규칙이 초과되면 발생합니다.

네임스페이스:  Microsoft.VisualStudio.TestTools.LoadTesting
어셈블리:  Microsoft.VisualStudio.QualityTools.LoadTestFramework(Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

구문

‘선언
Public Event ThresholdExceeded As EventHandler(Of ThresholdExceededEventArgs)
public event EventHandler<ThresholdExceededEventArgs> ThresholdExceeded
public:
 event EventHandler<ThresholdExceededEventArgs^>^ ThresholdExceeded {
    void add (EventHandler<ThresholdExceededEventArgs^>^ value);
    void remove (EventHandler<ThresholdExceededEventArgs^>^ value);
}
member ThresholdExceeded : IEvent<EventHandler<ThresholdExceededEventArgs>,
    ThresholdExceededEventArgs>
JScript에서는 이벤트를 지원하지 않습니다.

설명

ThresholdExceededEventArgs 임계값, 성능 카운터 샘플의 값을 초과 하는 성능 카운터를 식별 및 위험 임계값 수준 또는 경고 임계값 수준에만 값이 초과 되는 여부.

참고

부하 테스트를 실행 하는 하나 이상의 에이전트 컴퓨터에 없는 경우는 ThresholdExceeded 이벤트는 모든 에이전트에서 발생 합니다.

이벤트를 처리 하는 방법에 대 한 자세한 내용은 참조 Consuming Events.

.NET Framework 보안

참고 항목

참조

LoadTest 클래스

Microsoft.VisualStudio.TestTools.LoadTesting 네임스페이스

기타 리소스

About Counter Sets