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.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Dts.Tasks.WebServiceTask..::..WebServiceTaskUtil
命名空间: 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
WebServiceTaskUtil 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
WebServiceTaskUtil | Initializes a new instance of the WebServiceTaskUtil class, initializing the HTTP connection and Web Services Description Language (WSDL) file to download. |
页首
方法
名称 | 说明 | |
---|---|---|
CleanUp | Releases all the resources used to parse the Web Services Description Language (WSDL) and invoke the Web method. | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetServices | Returns an array that contains all the services available in the Web Services Description Language (WSDL). | |
GetType | (从 Object 继承。) | |
GetWebMethodInfos | Gets an array that contains all the methods available in a service. | |
Invoke | Calls the specified Web method with the supplied parameters. | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
注释
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.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。