ErrorAction.Message 属性

获取或设置说明性错误消息。

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Common
程序集:  Microsoft.VisualStudio.TestTools.UITest.Common(在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

语法

声明
Public Property Message As String
    Get
    Set
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)

属性值

类型:System.String
错误说明。

备注

设置此属性将引发 PropertyChanged 事件。

.NET Framework 安全性

请参见

参考

ErrorAction 类

Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

PropertyChanged