Share via


TestResult.ErrorMessage Property

 

Gets or sets the most recent error message.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

[ReadOnlyAttribute(true)]
[UserVisiblePropertyAttribute("{64600D7C-7361-4048-B6EF-5BF48D60D6F3}")]
public string ErrorMessage { get; set; }
public:
[ReadOnlyAttribute(true)]
[UserVisiblePropertyAttribute("{64600D7C-7361-4048-B6EF-5BF48D60D6F3}")]
property String^ ErrorMessage {
    String^ get();
    void set(String^ value);
}
[<ReadOnlyAttribute(true)>]
[<UserVisiblePropertyAttribute("{64600D7C-7361-4048-B6EF-5BF48D60D6F3}")>]
member ErrorMessage : string with get, set
<ReadOnlyAttribute(True)>
<UserVisiblePropertyAttribute("{64600D7C-7361-4048-B6EF-5BF48D60D6F3}")>
Public Property ErrorMessage As String

Property Value

Type: System.String

The most recent error message.

See Also

TestResult Class
Microsoft.VisualStudio.TestTools.Common Namespace

Return to top