ExceptionMessageBox.GetMessageText(Exception) 메서드

정의

예외가 예외 메시지 상자에 표시될 때 사용자가 클립보드에 복사할 수 있는 문자열을 반환합니다.

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

매개 변수

exception
Exception

Exception 개체입니다.

반품

String 그 안에 메시지의 전체 내용이 담겨 있습니다.

설명

반환 String 된 메시지에는 메시지 텍스트, 캡션, 그리고 모든 메시지 부분의 도움말 링크가 포함되어 있습니다. 이 텍스트는 메시지 복사 버튼을 클릭하면 클립보드에 표시되는 동일한 텍스트입니다.

적용 대상