This document is archived and information here might be outdated.  Recommended version.


WMSConnection Class (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GISClient > ESRI.ArcGIS.GISClient > Classes > W > WMSConnection Class
ArcGIS Developer Help

WMSConnectionClass Class

The Connection for WMS.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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.

Interfaces

Interfaces Description
ISupportErrorInfo (esriSystem)
IWMSClientEvents Provides access to events that occur when a URL request is made to the WMS server.
IWMSConnection Provides access to members that supply WMS connection information.
IWMSServiceDescription Provides access to members give access to WMSServiceDescription information.

Remarks

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.