Gets or sets the method called when an error is thrown during the serialization of the object.
[System.Obsolete("This property is obsolete and has been replaced by the OnErrorCallbacks collection.")]
public System.Reflection.MethodInfo OnError {get; set;}
public read-write property OnError: System.Reflection.MethodInfo;
System.ObsoleteAttribute("This property is obsolete and has been replaced by the OnErrorCallbacks collection.")
public function get,set OnError : System.Reflection.MethodInfo
[System.Obsolete("This property is obsolete and has been replaced by the OnErrorCallbacks collection.")]
public: __property System.Reflection.MethodInfo* get_OnError();
public: __property void set_OnError(
System.Reflection.MethodInfo* value
);
[System.Obsolete("This property is obsolete and has been replaced by the OnErrorCallbacks collection.")]
public:
property System.Reflection.MethodInfo^ OnError {
System.Reflection.MethodInfo^ get();
void set ( System.Reflection.MethodInfo^ value);
}
'Declaration
<System.ObsoleteAttribute("This property is obsolete and has been replaced by the OnErrorCallbacks collection.")>
Public Property OnError As System.Reflection.MethodInfo
'Usage
Dim instance As JsonContract
Dim value As System.Reflection.MethodInfo
instance.OnError = value
value = instance.OnError
Property Value
The method called when an error is thrown during the serialization of the object.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2