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

IWMSClientEvents Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GISClient > ESRI.ArcGIS.GISClient > Interfaces > IW > IWMSClientEvents Interface
ArcGIS Developer Help

IWMSClientEvents Interface

Provides access to events that occur when a URL request is made to the WMS server.

Product Availability

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


Name Description
Method WMSException Fired when the an URL request is made to WMS server and the server fails with a valid exception.
Method WMSRequest Fired when the an URL request is made to WMS server.

Classes that implement IWMSClientEvents

Classes Description
WMSClientEventsListener (esriSystemUtility) Helper coclass to provide IWMSClientEvents support to the C++ API.
WMSConnection The Connection for WMS.


IWMSClientEvents provides two methods that allow to listen for WMS requests and exceptions.  A WMSException occurs whenever a WMS server throws an exception after a WMSRequest.  The exception will is defined by the WMS specifications.  A WMSRequest occurs whenever a layer based on a WMSConnection makes a GetMap or GetFeatureInfo request to the WMS server.