My.WebServices

When you have in your application references to web services, you can easily reach members provided by the proxy classes using My.WebServices. For example, if you have a proxy class named DataAccess exposing a GetCustomers method, you can simply write the following line:

My.WebServices.DataAccess.GetCustomers()

This is a rapid way for invoking members from referenced web services (as long as they are in the same solution of your application).

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.