Share via


ErrorAction.Message Property

Gets or sets a descriptive error message.

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

Syntax

'Declaration
Public Property Message As String
public string Message { get; set; }
public:
property String^ Message {
    String^ get ();
    void set (String^ value);
}
member Message : string with get, set
function get Message () : String 
function set Message (value : String)

Property Value

Type: String
The error description.

Remarks

Setting this property raises the PropertyChanged event.

.NET Framework Security

See Also

Reference

ErrorAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace

PropertyChanged