The AddIn PersistenceManagerRegistrar type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
AddAssemblyBinding |
Adds a binding of an entire assembly.
| |
AddFieldRename |
Adds a binding for the field with the specified originalFieldName
in a class of the specified originalAssemblyName and originalTypeName
of a PersistenceVersion less than the specified majorUpperVersion and minorUpperVersion.
If the class or struct containing the originalFieldName is being deserialized as the
specified boundType, value of the field is deserialized and bound to the
specified newFieldName.
| |
AddFieldTypeBinding |
Adds a binding for the specified fieldName in the class or struct specified by definingType.
The value of such fields are deserialized as the specified fieldType.
| |
AddNamespaceRename |
Adds a binding for a namespace rename.
| |
AddTypeBinding |
Adds a binding of a type with the specified original assembly and type name.
Use this method to add support for backwards compatibility with respect to removed types.
When an object with the specified specified original assembly and type, marked with a PersistenceVersion
attribute less than the specified majorUpperVersion and minorUpperVersion, is encountered in the
serialized format, an object of the specified boundType will be deserialized in place of the
original type.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
See Also