Share via


SPUserCodeAssemblyGroupId.ISerializable.GetObjectData method

Adds the user assembly group identifier to the 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 SPUserCodeAssemblyGroupId
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)

Exceptions

Exception Condition
ArgumentNullException

info parameter is null .

Remarks

This method adds the user assembly group identifier specified by the GroupId property to the serialized object. The context parameter is not used.

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

See also

Reference

SPUserCodeAssemblyGroupId class

SPUserCodeAssemblyGroupId members

Microsoft.SharePoint.Administration namespace