Compartir a través de


ServiceRequestException Constructor (String)

Initializes a new instance of the ServiceRequestException class with the specified message.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub New ( _
    message As String _
)
'Uso
Dim message As String 

Dim instance As New ServiceRequestException(message)
public ServiceRequestException(
    string message
)
public:
ServiceRequestException(
    String^ message
)
new : 
        message:string -> ServiceRequestException
public function ServiceRequestException(
    message : String
)

Parámetros

  • message
    Tipo: System.String
    A String value that specifies the message string for the Service Request exception.

Ejemplos

Controlar excepciones SMO

Vea también

Referencia

ServiceRequestException Clase

Sobrecarga de ServiceRequestException

Espacio de nombres Microsoft.SqlServer.Management.Smo