다음을 통해 공유


TestResultMessage.Duration 속성

관련된 테스트 실행이나 테스트를 실행하는 데 소요된 시간을 가져오거나 설정합니다.

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

구문

‘선언
<UserVisiblePropertyAttribute("{F4B15960-1C11-46ce-8D5F-29D89E484CF7}")> _
Public Property Duration As TimeSpan
[UserVisiblePropertyAttribute("{F4B15960-1C11-46ce-8D5F-29D89E484CF7}")]
public TimeSpan Duration { get; set; }
[UserVisiblePropertyAttribute(L"{F4B15960-1C11-46ce-8D5F-29D89E484CF7}")]
public:
property TimeSpan Duration {
    TimeSpan get ();
    void set (TimeSpan value);
}
[<UserVisiblePropertyAttribute("{F4B15960-1C11-46ce-8D5F-29D89E484CF7}")>]
member Duration : TimeSpan with get, set
function get Duration () : TimeSpan 
function set Duration (value : TimeSpan)

속성 값

형식: TimeSpan
테스트 실행 또는 테스트를 실행하는 데 소요된 시간입니다.

.NET Framework 보안

참고 항목

참조

TestResultMessage 클래스

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

TimeSpan