Sdílet prostřednictvím


TestResult.ErrorMessage – vlastnost

Získá nebo nastaví poslední chybová zpráva.

Obor názvů:  Microsoft.VisualStudio.TestTools.Common
Sestavení:  Microsoft.VisualStudio.QualityTools.Common (v Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Deklarace
<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)

Hodnota vlastnosti

Typ: System.String
Poslední chybová zpráva.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

TestResult Třída

Microsoft.VisualStudio.TestTools.Common – obor názvů