Sdílet prostřednictvím


VersionNotSupportedException Constructor (SerializationInfo, StreamingContext)

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

VersionNotSupportedException Class
VersionNotSupportedException Members
Microsoft.Synchronization.MetadataStorage Namespace