Table of Contents

Class DeserializationFailedEventArgs

Namespace
DuetAPI.ObjectModel
Assembly
DuetAPI.dll

Event arguments for the event to be called when deserialization fails

public sealed class DeserializationFailedEventArgs : EventArgs
Inheritance
DeserializationFailedEventArgs
Inherited Members

Constructors

DeserializationFailedEventArgs(Type, JsonElement, Exception)

Event arguments for the event to be called when deserialization fails

public DeserializationFailedEventArgs(Type type, JsonElement jsonValue, Exception e)

Parameters

type Type

Type that failed to be deserialized

jsonValue JsonElement

Data that failed to be deserialized

e Exception

Exception that caused the deserialization to fail

Properties

Exception

Exception that caused the deserialization to fail

public Exception Exception { get; }

Property Value

Exception

JsonValue

Data that failed to be deserialized

public JsonElement JsonValue { get; }

Property Value

JsonElement

TargetType

Type that failed to be deserialized

public Type TargetType { get; }

Property Value

Type