ReplicaMetadataInUseException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the ReplicaMetadataInUseException 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 ReplicaMetadataInUseException(info, context)
protected ReplicaMetadataInUseException(
SerializationInfo info,
StreamingContext context
)
protected:
ReplicaMetadataInUseException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ReplicaMetadataInUseException
protected function ReplicaMetadataInUseException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo object that holds the serialized object data about the exception that is being thrown.
- context
Type: System.Runtime.Serialization.StreamingContext
The StreamingContext object that contains contextual information about the source or destination.
See Also
Reference
ReplicaMetadataInUseException Class