Classe 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.
Gerarchia di ereditarietà
System.Object
Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil
Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly: Microsoft.SqlServer.WebServiceTask (in Microsoft.SqlServer.WebServiceTask.dll)
Sintassi
'Dichiarazione
Public Class WebServiceTaskUtil
'Utilizzo
Dim instance As WebServiceTaskUtil
public class WebServiceTaskUtil
public ref class WebServiceTaskUtil
type WebServiceTaskUtil = class end
public class WebServiceTaskUtil
Nel tipo WebServiceTaskUtil sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
WebServiceTaskUtil | Initializes a new instance of the WebServiceTaskUtil class, initializing the HTTP connection and Web Services Description Language (WSDL) file to download. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
CleanUp | Releases all the resources used to parse the Web Services Description Language (WSDL) and invoke the Web method. | |
Equals | Ereditato da Object. | |
Finalize | Ereditato da Object. | |
GetHashCode | Ereditato da Object. | |
GetServices | Returns an array that contains all the services available in the Web Services Description Language (WSDL). | |
GetType | Ereditato da 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 | Ereditato da Object. | |
ToString | Ereditato da Object. |
In alto
Osservazioni
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.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.WebServiceTask