ItemListFilterInfo Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the ItemListFilterInfo class by using serialized data.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.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 ItemListFilterInfo(info, context)
protected ItemListFilterInfo(
SerializationInfo info,
StreamingContext context
)
protected:
ItemListFilterInfo(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ItemListFilterInfo
protected function ItemListFilterInfo(
info : SerializationInfo,
context : StreamingContext
)
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.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | idFormats is a null reference (Nothing in Visual Basic). |
SerializationException | A problem occurred while trying to get the serialization format or serialization data. |