ExceptionMessageBox.Text Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the text of the top-level message to display in the exception message box
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
Property Value
A String value.
Remarks
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.