LocationMy.WebServices DescriptionUse the WebServices object to access an instance of each XML Web service currently available to your application. The instances are created as needed, when you first reference an XML Web service through My.WebServices. This object lists those XML Web services that have been added as references to the application or those that are added at runtime. It is not available in ASP.NET applications. XML Web services made available through a DLL associated with your running application are not added to My.WebServices. Access those services directly through the features provided by the DLL. If you have a reference to an XML Web service named transferFunds, access to that service is done by referencing that service as a property of My.WebServices: My.WebServices.TransferFunds When you are finished with an XML Web service and wish to dispose of it, set it to Nothing. My.WebServices.TransferFunds = Nothing You can test whether an instance of an XML Web service has already been created using the Is or IsNot operator: If (My.WebServices.TransferFunds Is Nothing) Then... Public MembersThe only public members of My.WebServices are the web services that have been referenced in your application. Usage at a GlanceThis object and its members are not valid in ASP.NET applications. Related Framework Entries
See AlsoForms Object, My Namespace, Resources Object, Settings Object |