ExceptionMessageBox.GetMessageText(Exception) Method
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.
Returns the string that a user can copy to the clipboard when the exception is displayed in an exception message box.
public:
static System::String ^ GetMessageText(Exception ^ exception);
public static string GetMessageText (Exception exception);
static member GetMessageText : Exception -> string
Public Shared Function GetMessageText (exception As Exception) As String
Parameters
Returns
String that contains the full content of the message.
Remarks
The returned String includes the message text, the caption, and help links from all message parts. This is the same text that is placed on the clipboard when the Copy Message button is clicked.