SmoException 构造函数 (SerializationInfo, StreamingContext)

Initializes a new instance of the SmoException class with the specified serialization information and streaming context.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

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

Dim instance As New SmoException(info, context)
protected SmoException(
    SerializationInfo info,
    StreamingContext context
)
protected:
SmoException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> SmoException
protected function SmoException(
    info : SerializationInfo, 
    context : StreamingContext
)

参数

示例

处理 SMO 异常

请参阅

参考

SmoException 类

SmoException 重载

Microsoft.SqlServer.Management.Smo 命名空间