다음을 통해 공유


GetMessageText 메서드

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오. Use GetMessageText instead.

네임스페이스:  Microsoft.NetEnterpriseServers
어셈블리:  Microsoft.NetEnterpriseServers.ExceptionMessageBox(Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll)

구문

‘선언
Public Shared Function GetMessageText ( _
    exception As Exception _
) As String
‘사용 방법
Dim exception As Exception
Dim returnValue As String

returnValue = ExceptionMessageBox.GetMessageText(exception)
public static string GetMessageText(
    Exception exception
)
public:
static String^ GetMessageText(
    Exception^ exception
)
static member GetMessageText : 
        exception:Exception -> string 
public static function GetMessageText(
    exception : Exception
) : String

매개 변수

반환 값

유형: System. . :: . .String
A String that contains the full content of the message.