LoadTestGoalBasedLoadProfile.MaxUserCountIncrease 속성

사용자 부하를 늘릴 최대 양을 가져오거나 설정합니다.

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

구문

‘선언
Public Property MaxUserCountIncrease As Integer
public int MaxUserCountIncrease { get; set; }
public:
property int MaxUserCountIncrease {
    int get ();
    void set (int value);
}
member MaxUserCountIncrease : int with get, set
function get MaxUserCountIncrease () : int
function set MaxUserCountIncrease (value : int)

속성 값

형식: System.Int32
사용자 부하를 늘릴 최대 양입니다.

설명

LoadTestLoadProfile 클래스의 속성은 LoadTestScenario의 LoadProfile 속성에 LoadTestLoadProfile 개체를 할당하기 전에 변경해야 합니다.LoadTestLoadProfile 개체를 LoadProfile 속성에 할당하면 읽기 전용 버전이 됩니다.LoadProfile 개체가 읽기 전용 상태일 때 그 속성을 설정하려고 하면 예외가 throw됩니다.쓰기 가능한 새 LoadProfile 개체를 가져오려면 LoadTestGoalBasedLoadProfile의 예제에서처럼 Copy() 메서드를 호출합니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

LoadTestGoalBasedLoadProfile 클래스

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