Delen via


RegisteredServerException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the RegisteredServerException class with the specified message and specified inner exception.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.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

See Also

Reference

RegisteredServerException Class

RegisteredServerException Overload

Microsoft.SqlServer.Management.Smo.RegSvrEnum Namespace