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
info
Type: System.Runtime.Serialization.SerializationInfoThe serialized object.
context
Type: System.Runtime.Serialization.StreamingContextThe destination for this serialization.
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