SyncId Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the SyncId class by using serialized data.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

protected:
SyncId(
	SerializationInfo^ info, 
	StreamingContext context
)

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo
The SerializationInfo object that holds the serialized object data.
context
Type: System.Runtime.Serialization::StreamingContext
The StreamingContext object that contains contextual information about the source or destination.

ExceptionCondition
ArgumentNullException

info is a nullptr.

SerializationException

Data could not be read from info, or it could not be determined whether info is variable length.

Show: