Sdílet prostřednictvím


ChangeNotExpectedException Constructor (SerializationInfo, StreamingContext)

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

Remarks

See Also

Reference

ChangeNotExpectedException Class
ChangeNotExpectedException Members
Microsoft.Synchronization Namespace