ExceptionMessageBox.Text 属性

Gets or sets the text of the top-level message to display in the exception message box

命名空间:  Microsoft.SqlServer.MessageBox
程序集:  Microsoft.ExceptionMessageBox(在 Microsoft.ExceptionMessageBox.dll 中)

语法

声明
Public Property Text As String 
    Get 
    Set
用法
Dim instance As ExceptionMessageBox 
Dim value As String 

value = instance.Text

instance.Text = value
public string Text { get; set; }
public:
property String^ Text {
    String^ get ();
    void set (String^ value);
}
member Text : string with get, set
function get Text () : String 
function set Text (value : String)

属性值

类型:System.String
A String value.

注释

The default value is an empty string.

An alternate method for setting the top-level message and other user information is to create an instance of and set the desired properties of an Exception object, including Message, and assign it to the Message property of the ExceptionMessageBox object.

请参阅

参考

ExceptionMessageBox 类

Microsoft.SqlServer.MessageBox 命名空间