共用方式為


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 命名空間