ExceptionMessageBox.GetMessageText(Exception) Method

Definition

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

exception
Exception

An Exception object.

Returns

A String that contains the full content of the message.

Applies to