PostSharp5.0//API Reference/Post­Sharp.​Serialization Namespace/ISerialization­Callback Interface/ISerialization­Callback Methods/ISerialization­Callback.​On­Serializing Method

ISerializationCallback.OnSerializing Method

Method called before the object is being serialized.

Namespace:  PostSharp.Serialization
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
void OnSerializing()
See Also