Condividi tramite


WebserviceTaskException Constructor (String, Int32)

Initializes a new instance of the WebserviceTaskException class, intializing the error message and error code.

Spazio dei nomi: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly : Microsoft.SqlServer.WebServiceTask (in microsoft.sqlserver.webservicetask.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    errorMessage As String, _
    errorCode As Integer _
)
public WebserviceTaskException (
    string errorMessage,
    int errorCode
)
public:
WebserviceTaskException (
    String^ errorMessage, 
    int errorCode
)
public WebserviceTaskException (
    String errorMessage, 
    int errorCode
)
public function WebserviceTaskException (
    errorMessage : String, 
    errorCode : int
)

Parametri

  • errorMessage
    The error message to use in the exception.
  • errorCode
    The error code to use in the exception.

Osservazioni

For this constructor, the class is initialized with the message string set to the errorMessage string that is passed in, and its error code is set to the errorCode parameter that is passed in.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

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