Constructor WmtsService
WmtsService(Uri)
Initializes a new instance of the WmtsService class with the specified URI.
Declaration
public WmtsService(Uri serviceUri)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Uri | serviceUri | URI of the WMTS service. |
Remarks
For some WMTS services it may be necessary to provide a direct URI to the
getCapabilities resource, by appending either /1.0.0/WMTSCapabilities.xml or
?service=wmts&request=getCapabilities&version=1.0.0 to the root WMTS URI.
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.2 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.1 - 200.8 |
| Xamarin.Android | 100.1 - 100.14 |
| Xamarin.iOS | 100.1 - 100.15 |
| UWP | 100.1 - 200.8 |