The Connection for WMS.
Extended Error Information
Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.
|ISupportErrorInfo||Indicates whether a specific interface can return Automation error objects.|
|IWMSConnection||Provides access to members that supply WMS connection information.|
|IWMSServiceDescription||Provides access to members give access to WMSServiceDescription information.|
|IWMSClientEvents (default)||Provides access to events that occur when a URL request is made to the WMS server.|
A WMSConnection is a representation of WMS service capabilities. These capabilities are to populate and manage the layers of the WMS service. You can access the service capabilities using IWMSServiceDescription. You can access individual layer capabilities from IWMSLayerDescription.
WMSConnection is the source of IWMSClientEvents. You can listen to requests or exceptions on a particular WMS connection using this interface.
Working with Events
When working with WMSConnection's default outbound interface in Visual Basic 6 declare variables as follows:
Private WithEvents pWMSConnection as WMSConnection