ThrowCallbackInvocationFailed(Type, String, Exception) Method

Definition

Assembly SharpYaml.dll

Throws an exception when a lifecycle callback fails during serialization.

public static YamlException ThrowCallbackInvocationFailed(Type declaringType, string callbackName, Exception exception)

Parameters

declaringType
Type

The CLR type being serialized.

callbackName
String

The callback name being invoked.

exception
Exception

The callback exception.

Returns