Compartilhar via


Construtor RegisteredServerException (String, Exception)

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 (em Microsoft.SqlServer.RegSvrEnum.dll)

Sintaxe

'Declaração
Public Sub New ( _
    message As String, _
    previous As Exception _
)
'Uso
Dim message As String 
Dim previous As Exception 

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

Parâmetros

  • message
    Tipo: System.String
    A String value that specifies the message string for the Registered Server exception.
  • previous
    Tipo: System.Exception
    An Exception object that specifies the inner exception for the Registered Server exception.

Consulte também

Referência

RegisteredServerException Classe

Sobrecarregado RegisteredServerException

Namespace Microsoft.SqlServer.Management.Smo.RegSvrEnum