Класс WebServiceTaskUtil

Accesses and invokes the Web services. This class is used by both the Microsoft.SqlServer.Dts.Tasks.WebServiceTask and its user interface as a reusable library of functions.

Пространство имен:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Сборка:  Microsoft.SqlServer.WebServiceTask (в Microsoft.SqlServer.WebServiceTask.dll)

Синтаксис

'Декларация
Public Class WebServiceTaskUtil
'Применение
Dim instance As WebServiceTaskUtil
public class WebServiceTaskUtil
public ref class WebServiceTaskUtil
type WebServiceTaskUtil =  class end
public class WebServiceTaskUtil

Замечания

The WebServiceTaskUtil provides the functionality to do the following:

  • Download the Web Services Description Language (WSDL) from a given URL.

  • Retrieve services, methods, and parameters information from the WSDL.

  • Create the proxy class and generate an assembly from the proxy class, which is required for invoking the Web method.

  • Invoke the requested Web method on the proxy class using reflection.

The user interfaces that are designed for a task can use this WebServiceTaskUtil for displaying the services, methods, and parameters.

Иерархия наследования

System. . :: . .Object
  Microsoft.SqlServer.Dts.Tasks.WebServiceTask..::..WebServiceTaskUtil

Потоковая защита

Все открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность элементов экземпляров не гарантируется.