HierarchyIdException 构造函数 (SerializationInfo, StreamingContext)

 

使用序列化数据初始化 HierarchyIdException 类的新实例。

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

protected HierarchyIdException(
    SerializationInfo info,
    StreamingContext context
)
protected:
HierarchyIdException(
    SerializationInfo^ info,
    StreamingContext context
)
new : 
        info:SerializationInfo *
        context:StreamingContext -> HierarchyIdException
Protected Sub New (
    info As SerializationInfo,
    context As StreamingContext
)

参数

备注

在反序列化期间调用此构造函数以重新构造在流上传输的异常对象。

另请参阅

HierarchyIdException 重载
HierarchyIdException 类
Microsoft.SqlServer.Types 命名空间

返回页首