GeolocationProvider Constructor

Definition

Constructs a new instance of GeolocationProvider.

Note

To call location-override APIs, an app must declare the runFullTrust restricted capability.

Important

The Windows.Devices.Geolocation.Provider APIs are part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, please use the LAF Access Token Request Form.

public:
 GeolocationProvider();
 GeolocationProvider();
public GeolocationProvider();
function GeolocationProvider()
Public Sub New ()

Windows requirements

App capabilities
runFullTrust

Remarks

See Remarks in GeolocationProvider.

Applies to