Share via


RegisteredServerException Constructor (String, Exception)

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

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception

Dim instance As New RegisteredServerException(message, _
    innerException)
public RegisteredServerException(
    string message,
    Exception innerException
)
public:
RegisteredServerException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> RegisteredServerException
public function RegisteredServerException(
    message : String, 
    innerException : Exception
)

Parameters