WCF-Xtensions Class Reference for Mono
OnSerializing Property






Gets or sets the method called before serialization of the object.
Syntax
'Declaration
 
<System.ObsoleteAttribute("This property is obsolete and has been replaced by the OnSerializingCallbacks collection.")>
Public Property OnSerializing As System.Reflection.MethodInfo
'Usage
 
Dim instance As JsonContract
Dim value As System.Reflection.MethodInfo
 
instance.OnSerializing = value
 
value = instance.OnSerializing
[System.Obsolete("This property is obsolete and has been replaced by the OnSerializingCallbacks collection.")]
public System.Reflection.MethodInfo OnSerializing {get; set;}
public read-write property OnSerializing: System.Reflection.MethodInfo; 
System.ObsoleteAttribute("This property is obsolete and has been replaced by the OnSerializingCallbacks collection.")
public function get,set OnSerializing : System.Reflection.MethodInfo
[System.Obsolete("This property is obsolete and has been replaced by the OnSerializingCallbacks collection.")]
public: __property System.Reflection.MethodInfo* get_OnSerializing();
public: __property void set_OnSerializing( 
   System.Reflection.MethodInfo* value
);
[System.Obsolete("This property is obsolete and has been replaced by the OnSerializingCallbacks collection.")]
public:
property System.Reflection.MethodInfo^ OnSerializing {
   System.Reflection.MethodInfo^ get();
   void set (    System.Reflection.MethodInfo^ value);
}

Property Value

The method called before serialization of the object.
Requirements

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

See Also

Reference

JsonContract Class
JsonContract Members

Send Feedback