FunctionResultContent.Exception プロパティ

定義

関数呼び出しが失敗した場合に発生した例外を取得または設定します。

public:
 property Exception ^ Exception { Exception ^ get(); void set(Exception ^ value); };
[System.Text.Json.Serialization.JsonIgnore]
public Exception? Exception { get; set; }
[<System.Text.Json.Serialization.JsonIgnore>]
member this.Exception : Exception with get, set
Public Property Exception As Exception

プロパティ値

属性

注釈

このプロパティは情報提供のみを目的としています。 Exceptionは、JsonSerializerを使用してこのクラスのインスタンスをシリアル化する一部としてシリアル化されません。 そのため、逆シリアル化すると、このプロパティは nullされます。 コンシューマーは、成功を示す null に依存しないでください。

適用対象