Class DeserializationFailedEventArgs
Event arguments for the event to be called when deserialization fails
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
public sealed class DeserializationFailedEventArgs : EventArgs
Constructors
DeserializationFailedEventArgs(Type, JsonElement, Exception)
Constructor of this class
Declaration
public DeserializationFailedEventArgs(Type type, JsonElement jsonValue, Exception e)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | Type that failed to be deserialized |
| JsonElement | jsonValue | Data that failed to be deserialized |
| Exception | e | Exception that caused the deserialization to fail |
Properties
Exception
Exception that caused the deserialization to fail
Declaration
public Exception Exception { get; }
Property Value
| Type | Description |
|---|---|
| Exception |
JsonValue
Data that failed to be deserialized
Declaration
public JsonElement JsonValue { get; }
Property Value
| Type | Description |
|---|---|
| JsonElement |
TargetType
Type that failed to be deserialized
Declaration
public Type TargetType { get; }
Property Value
| Type | Description |
|---|---|
| Type |