This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GISClient > ESRI.ArcGIS.GISClient > Classes > W > WMSConnection CoClass (ArcObjects .NET 10.5 SDK) |
The Connection for WMS.
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.
Interfaces | Description |
---|---|
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. |
Interfaces | Description |
---|---|
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.
A WMSConnection is the result of OpenEx (IWMSConnectionName) or Open (IWMSConnectionFactory).
WMSConnection is the source of IWMSClientEvents. You can listen to requests or exceptions on a particular WMS connection using this interface.
When working with WMSConnection's default outbound interface in Visual Basic 6 declare variables as follows:
Private WithEvents pWMSConnection as WMSConnection