SyncVersion.GetObjectData Method
Serializes the version object data to a SerializationInfo object.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in microsoft.synchronization.dll)
Syntax
'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter:=True)> _
Public Overridable Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim instance As SyncVersion
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true)]
public virtual void GetObjectData (
SerializationInfo info,
StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter=true)]
public:
virtual void GetObjectData (
SerializationInfo^ info,
StreamingContext context
)
/** @attribute SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true) */
public void GetObjectData (
SerializationInfo info,
StreamingContext context
)
public function GetObjectData (
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
The SerializationInfo to hold the serialized object data.
- context
The StreamingContext that contains contextual information about the source or destination.
See Also
Reference
SyncVersion Class
SyncVersion Members
Microsoft.Synchronization Namespace