Share via


RegisteredServerException Constructor (SerializationInfo, StreamingContext)

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

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Usage
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
)

Parameters