ExceptionMessageBox.GetMessageText 메서드

Returns the string that a user can copy to the clipboard when the exception is displayed in an exception message box.

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

public static string GetMessageText(
	Exception exception

매개 변수

유형: System.Exception
An Exception object.

반환 값

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

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.

커뮤니티 추가 항목