Κοινή χρήση μέσω


FunctionResultContent.Exception Property

Definition

Gets or sets an exception that occurred if the function call failed.

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

Property Value

Attributes

Remarks

This property is for information purposes only. The Exception is not serialized as part of serializing instances of this class with JsonSerializer; as such, upon deserialization, this property will be null. Consumers should not rely on null indicating success.

Applies to