Show / Hide Table of Contents

Class WmsService

Represents an OGC Web Map Service (WMS). Loading this object retrieves the service metadata, accessible via ServiceInfo property.

Inheritance
Object
WmsService
Implements
System.ComponentModel.INotifyPropertyChanged
ILoadable
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class WmsService : INotifyPropertyChanged, ILoadable

Constructors

Name Description
WmsService(Uri)

Initializes a new instance of the WmsService class with the specified service URI.

Properties

Name Description
CustomParameters

Gets the dictionary of custom parameters to be sent with requests to this WMS service.

LoadError

Gets the Exception associated with the last load error.

LoadStatus

Gets the load status.

ServiceInfo

Gets the WMS service information, including WmsLayerInfos.

Source

Gets the URI of this WMS service.

Version

Gets the version of the WMS specification used when communicating with this service.

Methods

Name Description
CancelLoad()

Cancel loading metadata for the object.

LoadAsync()

Load the metadata for the object asynchronously.

RetryLoadAsync()

Loads or retries loading metadata for the object asynchronously.

Events

Name Description
Loaded

Event that is raised when the object is done loading.

LoadStatusChanged

Event that is raised when the LoadStatus property changes.

Name Description
INotifyPropertyChanged.PropertyChanged

See Also

WmsServiceInfo
WmsLayer

Applies to

TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.2.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 100.15

Relevant samples

WMS service catalog: Connect to a WMS service and show the available layers and sublayers.
In This Article
Back to top Copyright © 2022 Esri.