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

執行緒安全性

這個類型的任何公用static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員都可以是安全執行緒。