WrapperProviderContext.IsSerialization Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
true if a wrapper provider is invoked during serialization,
false otherwise.
public:
 property bool IsSerialization { bool get(); };public bool IsSerialization { get; }member this.IsSerialization : boolPublic ReadOnly Property IsSerialization As Boolean