Share via


InvalidReplicaKeyException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidReplicaKeyException 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 InvalidReplicaKeyException(info, context)
protected InvalidReplicaKeyException(
    SerializationInfo info,
    StreamingContext context
)
protected:
InvalidReplicaKeyException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> InvalidReplicaKeyException
protected function InvalidReplicaKeyException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

See Also

Reference

InvalidReplicaKeyException Class

InvalidReplicaKeyException Overload

Microsoft.Synchronization Namespace