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 には、メッセージのテキスト、キャプション、そしてすべてのメッセージ部分からのヘルプリンクが含まれています。 これは 「メッセージをコピー 」ボタンをクリックするとクリップボードに表示されるテキストと同じです。

適用対象