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.
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use GetMessageText(Exception) instead.
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
A String that contains the full content of the message.