MetadataException 构造函数 (SerializationInfo, StreamingContext)

使用序列化信息和流上下文参数初始化 MetadataException 类的一个新实例。

命名空间: Microsoft.Synchronization.Data
程序集: Microsoft.Synchronization.Data(在 microsoft.synchronization.data.dll 中)

语法

声明
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
用法
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New MetadataException(info, context)
protected MetadataException (
    SerializationInfo info,
    StreamingContext context
)
protected:
MetadataException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected MetadataException (
    SerializationInfo info, 
    StreamingContext context
)
protected function MetadataException (
    info : SerializationInfo, 
    context : StreamingContext
)

参数

请参阅

参考

MetadataException 类
MetadataException 成员
Microsoft.Synchronization.Data 命名空间