FunctionResultContent.Exception Egenskap

Definition

Hämtar eller anger ett undantag som inträffade om funktionsanropet misslyckades.

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

Egenskapsvärde

Attribut

Kommentarer

Den här egenskapen är endast i informationssyfte. Exception serialiseras inte som en del av serialiserande instanser av den här klassen med JsonSerializer. Vid deserialisering blir nullden här egenskapen därför . Konsumenterna bör inte förlita sig på null att visa framgång.

Gäller för