英語で読む

次の方法で共有


Win32Exception.ToString メソッド

定義

NativeErrorCode、または HResult、または両方を含む文字列を返します。

C#
public override string ToString ();

戻り値

NativeErrorCode、または HResult、または両方を表す文字列。

適用対象

製品 バージョン
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1