Table of Contents

Class OnErrorAttribute

Namespace
Newtonsoft.Json.Serialization
Assembly
Newtonsoft.Json.dll

When applied to a method, specifies that the method is called when an error occurs serializing an object.

[AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class OnErrorAttribute : Attribute
Inheritance
OnErrorAttribute
Inherited Members

Constructors

OnErrorAttribute()

public OnErrorAttribute()