This documentation is archived and is not being maintained.
PolicyBase::GetBinaryFormatter Method
Visual Studio 2013
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)
Return Value
Type: System.Runtime.Serialization.Formatters.Binary::BinaryFormatterthe BinaryFormatter to use for serializing the policy
Implements
IPolicyCompatibility::GetBinaryFormatter()- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: