ExceptionMessageBox.Text 属性

定义

获取或设置要在异常消息框中显示的顶级消息的文本

public:
 property System::String ^ Text { System::String ^ get(); void set(System::String ^ value); };
public string Text { get; set; }
member this.Text : string with get, set
Public Property Text As String

属性值

一个 String 值。

注解

默认值为空字符串。

设置顶级消息和其他用户信息的另一种方法是创建对象的实例并设置对象的所需属性 Exception ,包括 Message,并将其分配给 Message 该对象的属性 ExceptionMessageBox

适用于