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 된 메시지에는 모든 메시지 부분의 메시지 텍스트, 캡션 및 도움말 링크가 포함됩니다. 메시지 복사 단추를 클릭할 때 클립보드에 배치되는 것과 동일한 텍스트입니다.

적용 대상