Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ISerializableUsageEntry Interface

Allows an object to control its own serialization and deserialization.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public interface ISerializableUsageEntry

Any class that implements this interface should implement a constructor that accepts a parameter of type SPKeyValuePairSerializationInfo. During deserialization the current constructor is called only after the data in the SPKeyValuePairSerializationInfo object has been deserialized by the formatter. In general this constructor should be protected if the class is not sealed.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.