TestResult.ErrorMessage 속성

최신 오류 메시지를 가져오거나 설정합니다.

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

구문

‘선언
<UserVisiblePropertyAttribute("{64600D7C-7361-4048-B6EF-5BF48D60D6F3}")> _
Public Property ErrorMessage As String
    Get
    Set
[UserVisiblePropertyAttribute("{64600D7C-7361-4048-B6EF-5BF48D60D6F3}")]
public string ErrorMessage { get; set; }
[UserVisiblePropertyAttribute(L"{64600D7C-7361-4048-B6EF-5BF48D60D6F3}")]
public:
property String^ ErrorMessage {
    String^ get ();
    void set (String^ value);
}
[<UserVisiblePropertyAttribute("{64600D7C-7361-4048-B6EF-5BF48D60D6F3}")>]
member ErrorMessage : string with get, set
function get ErrorMessage () : String
function set ErrorMessage (value : String)

속성 값

형식: System.String
최신 오류 메시지입니다.

.NET Framework 보안

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

참고 항목

참조

TestResult 클래스

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