Partager via


WebserviceTaskException Constructor (String)

Initializes a new instance of the WebserviceTaskException class, initializing the error message string.

Espace de noms: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly: Microsoft.SqlServer.WebServiceTask (in microsoft.sqlserver.webservicetask.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    errorMessage As String _
)
public WebserviceTaskException (
    string errorMessage
)
public:
WebserviceTaskException (
    String^ errorMessage
)
public WebserviceTaskException (
    String errorMessage
)
public function WebserviceTaskException (
    errorMessage : String
)

Paramètres

  • errorMessage
    The error message string to be used in the exception.

Notes

For this constructor, the message string is set to the errorMessage parameter, and the error code set to DEFAULT_CODE.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

WebserviceTaskException Class
WebserviceTaskException Members
Microsoft.SqlServer.Dts.Tasks.WebServiceTask Namespace