共用方式為


MapsGeolocationClient Class

Definition

The Geolocation service client.

public class MapsGeolocationClient
type MapsGeolocationClient = class
Public Class MapsGeolocationClient
Inheritance
MapsGeolocationClient

Constructors

MapsGeolocationClient()

Initializes a new instance of GeolocationClient.

MapsGeolocationClient(AzureKeyCredential, MapsGeolocationClientOptions)

Initializes a new instance of MapsGeolocationClient.

MapsGeolocationClient(AzureKeyCredential)

Initializes a new instance of MapsGeolocationClient.

MapsGeolocationClient(AzureSasCredential, MapsGeolocationClientOptions)

Initializes a new instance of MapsGeolocationClient.

MapsGeolocationClient(AzureSasCredential)

Initializes a new instance of MapsGeolocationClient.

MapsGeolocationClient(TokenCredential, String, MapsGeolocationClientOptions)

Initializes a new instance of MapsGeolocationClient.

MapsGeolocationClient(TokenCredential, String)

Initializes a new instance of MapsGeolocationClient.

Methods

GetCountryCode(IPAddress, CancellationToken)

This service will return the ISO country code for the provided IP address. Developers can use this information to block or alter certain content based on geographical locations where the application is being viewed from.

GetCountryCodeAsync(IPAddress, CancellationToken)

This service will return the ISO country code for the provided IP address. Developers can use this information to block or alter certain content based on geographical locations where the application is being viewed from.

Applies to