共用方式為


ITestResult.ErrorMessage Property

Gets or sets a description of the failure, if the test failed.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Property ErrorMessage As String
string ErrorMessage { get; set; }
property String^ ErrorMessage {
    String^ get ();
    void set (String^ value);
}
abstract ErrorMessage : string with get, set
function get ErrorMessage () : String 
function set ErrorMessage (value : String)

Property Value

Type: String
A description of the failure, if the test failed.

.NET Framework Security

See Also

Reference

ITestResult Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace