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 네임스페이스