Constructor WmsService
WmsService(Uri)
Initializes a new instance of the WmsService class with the specified service URI.
Declaration
public WmsService(Uri serviceUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | serviceUri | URI of the WMS service endpoint. |
Remarks
If you want to specify a different WMS version, set the VERSION parameter in the GetCapabilities URL for the service. For more information, see Parameters of a WMS GetCapabilities request URL.
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.2.1 - 200.5 |
Xamarin.Android | 100.2.1 - 100.14 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.5 |
Relevant samples
WMS service catalog: Connect to a WMS service and show the available layers and sublayers.