KeyUniquenessException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the KeyUniquenessException class by using serialized data.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.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 KeyUniquenessException(info, context)
protected KeyUniquenessException (
SerializationInfo info,
StreamingContext context
)
protected:
KeyUniquenessException (
SerializationInfo^ info,
StreamingContext context
)
protected KeyUniquenessException (
SerializationInfo info,
StreamingContext context
)
protected function KeyUniquenessException (
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
The SerializationInfo object that holds the serialized object data about the exception that is being thrown.
- context
The StreamingContext object that contains contextual information about the source or destination.
See Also
Reference
KeyUniquenessException Class
KeyUniquenessException Members
Microsoft.Synchronization.MetadataStorage Namespace