Конструктор WebserviceTaskException (String, Int32)
Initializes a new instance of the WebserviceTaskException class, intializing the error message and error code.
Пространство имен: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Сборка: Microsoft.SqlServer.WebServiceTask (в Microsoft.SqlServer.WebServiceTask.dll)
Синтаксис
'Декларация
Public Sub New ( _
errorMessage As String, _
errorCode As Integer _
)
'Применение
Dim errorMessage As String
Dim errorCode As Integer
Dim instance As New WebserviceTaskException(errorMessage, _
errorCode)
public WebserviceTaskException(
string errorMessage,
int errorCode
)
public:
WebserviceTaskException(
String^ errorMessage,
int errorCode
)
new :
errorMessage:string *
errorCode:int -> WebserviceTaskException
public function WebserviceTaskException(
errorMessage : String,
errorCode : int
)
Параметры
- errorMessage
Тип: System.String
The error message to use in the exception.
- errorCode
Тип: System.Int32
The error code to use in the exception.
Замечания
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.
См. также
Справочник
Перегрузка WebserviceTaskException
Пространство имен Microsoft.SqlServer.Dts.Tasks.WebServiceTask