Share via


SPUserCodeCachedAssemblyGroup.ISerializable.GetObjectData method

Adds user data to a serialized object.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Private Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
) Implements ISerializable.GetObjectData
'Usage
Dim instance As SPUserCodeCachedAssemblyGroup
Dim info As SerializationInfo
Dim context As StreamingContext

CType(instance, ISerializable).GetObjectData(info, _
    context)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
void ISerializable.GetObjectData(
    SerializationInfo info,
    StreamingContext context
)

Parameters

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Remarks

This method adds information about the group ID, root directory path, file names, and strong assembly name to the serialized object.

This member is an explicit interface member implementation. It can be used only when the SPUserCodeCachedAssemblyGroup instance is cast to an ISerializable interface.

See also

Reference

SPUserCodeCachedAssemblyGroup class

SPUserCodeCachedAssemblyGroup members

Microsoft.SharePoint.Administration namespace