OnError Property

Json.NET

Json.NET - Quick Starts & API Documentation OnError Property
NamespacesNewtonsoft.Json.SerializationJsonContractOnError
Gets or sets the method called when an error is thrown during the serialization of the object.
Declaration Syntax
C# Visual Basic Visual C++
public MethodInfo OnError { get; set; }
Public Property OnError As MethodInfo
	Get
	Set
public:
property MethodInfo^ OnError {
	MethodInfo^ get ();
	void set (MethodInfo^ value);
}
Value
The method called when an error is thrown during the serialization of the object.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)