DataSyncException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the DataSyncException class by using serialization information and streaming context parameters.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New DataSyncException(info, context)
protected DataSyncException(
SerializationInfo info,
StreamingContext context
)
protected:
DataSyncException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> DataSyncException
protected function DataSyncException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo object to populate with data.
- context
Type: System.Runtime.Serialization.StreamingContext
The destination (see StreamingContext) for this serialization.