Show / Hide Table of Contents

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
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
ArgumentException

serviceUri is null.

System.ArgumentNullException

serviceUri is null.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.1 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 100.14
In This Article
Back to top Copyright © 2022 Esri.