ExceptionExtensions.PrepareForRethrow(Exception) メソッド

定義

再スローのために特定の例外を準備します。

public static Exception PrepareForRethrow (this Exception exception);
static member PrepareForRethrow : Exception -> Exception
<Extension()>
Public Function PrepareForRethrow (exception As Exception) As Exception

パラメーター

exception
Exception

再スローされる例外。

戻り値

生成されたスタックトレースを含む例外。

適用対象