BaseCollection<T>.GetObjectData Method
Populates a SerializationInfo object with the data needed to serialize the target object.
Namespace: Microsoft.Rtc.Workflow.Utilities
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)
Syntax
'Declaration
<SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags := SecurityPermissionFlag.SerializationFormatter)> _
Public Overridable Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim instance As BaseCollection
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)]
public virtual void GetObjectData(
SerializationInfo info,
StreamingContext context
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
info
- context
Type: System.Runtime.Serialization.StreamingContext
context
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext)