共用方式為


RegisteredServerException 建構函式 (SerializationInfo, StreamingContext)

Initializes an instance of the RegisteredServerException class with the specified serialized object data and contextual information.

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'用途
Dim info As SerializationInfo 
Dim context As StreamingContext 

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

參數

請參閱

參考

RegisteredServerException 類別

RegisteredServerException 多載

Microsoft.SqlServer.Management.RegisteredServers 命名空間