Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PolicyBase.GetBinaryFormatter Method

Only override this if you want to create a new BinaryFormatter and hook into the serialization process for backward compatibility (e.g., you want to set the Binder property on the formatter to handle compatibility for a checkin policy that has been moved to another assembly).

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public virtual BinaryFormatter GetBinaryFormatter()

Return Value

Type: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
the BinaryFormatter to use for serializing the policy

Implements

IPolicyCompatibility.GetBinaryFormatter()

Show:
© 2015 Microsoft