Condividi tramite


ISerializableUsageEntry interface

Allows an object to control its own serialization and deserialization.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Interface ISerializableUsageEntry
'Usage
Dim instance As ISerializableUsageEntry
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public interface ISerializableUsageEntry

Remarks

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.

See also

Reference

ISerializableUsageEntry members

Microsoft.SharePoint.Administration namespace