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
typeTypeType that failed to be deserialized
jsonValueJsonElementData that failed to be deserialized
eExceptionException that caused the deserialization to fail
Properties
Exception
Exception that caused the deserialization to fail
public Exception Exception { get; }
Property Value
JsonValue
Data that failed to be deserialized
public JsonElement JsonValue { get; }
Property Value
TargetType
Type that failed to be deserialized
public Type TargetType { get; }