Share via


DebugOperationResult.ErrorMessage Property

Gets an error message that was generated by a debug operation.

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

Syntax

'Declaration
Public ReadOnly Property ErrorMessage As String
public string ErrorMessage { get; }
public:
property String^ ErrorMessage {
    String^ get ();
}
member ErrorMessage : string with get
function get ErrorMessage () : String

Property Value

Type: String
A string that contains either an error message (if the test did not succeed) or nulla null reference (Nothing in Visual Basic) (if the test succeeded and also generated no warning message).

.NET Framework Security

See Also

Reference

DebugOperationResult Class

Microsoft.VisualStudio.TestTools.Common Namespace