MapsGeolocationClient Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MapsGeolocationClient() |
Initializes a new instance of GeolocationClient. |
MapsGeolocationClient(AzureKeyCredential) |
Initializes a new instance of MapsGeolocationClient. |
MapsGeolocationClient(AzureSasCredential) |
Initializes a new instance of MapsGeolocationClient. |
MapsGeolocationClient(AzureKeyCredential, MapsGeolocationClientOptions) |
Initializes a new instance of MapsGeolocationClient. |
MapsGeolocationClient(AzureSasCredential, MapsGeolocationClientOptions) |
Initializes a new instance of MapsGeolocationClient. |
MapsGeolocationClient(TokenCredential, String) |
Initializes a new instance of MapsGeolocationClient. |
MapsGeolocationClient(TokenCredential, String, MapsGeolocationClientOptions) |
Initializes a new instance of MapsGeolocationClient. |
MapsGeolocationClient()
- Source:
- MapsGeolocationClient.cs
Initializes a new instance of GeolocationClient.
protected MapsGeolocationClient ();
Protected Sub New ()
Applies to
MapsGeolocationClient(AzureKeyCredential)
- Source:
- MapsGeolocationClient.cs
Initializes a new instance of MapsGeolocationClient.
public MapsGeolocationClient (Azure.AzureKeyCredential credential);
new Azure.Maps.Geolocation.MapsGeolocationClient : Azure.AzureKeyCredential -> Azure.Maps.Geolocation.MapsGeolocationClient
Public Sub New (credential As AzureKeyCredential)
Parameters
- credential
- AzureKeyCredential
Shared key credential used to authenticate to an Azure Maps Geolocation Service.
Exceptions
credential
is null.
Applies to
MapsGeolocationClient(AzureSasCredential)
- Source:
- MapsGeolocationClient.cs
Initializes a new instance of MapsGeolocationClient.
public MapsGeolocationClient (Azure.AzureSasCredential credential);
new Azure.Maps.Geolocation.MapsGeolocationClient : Azure.AzureSasCredential -> Azure.Maps.Geolocation.MapsGeolocationClient
Public Sub New (credential As AzureSasCredential)
Parameters
- credential
- AzureSasCredential
The Shared Access Signature credential used to connect to Azure. This signature can be constructed using the AzureSasCredential.
Applies to
MapsGeolocationClient(AzureKeyCredential, MapsGeolocationClientOptions)
- Source:
- MapsGeolocationClient.cs
Initializes a new instance of MapsGeolocationClient.
public MapsGeolocationClient (Azure.AzureKeyCredential credential, Azure.Maps.Geolocation.MapsGeolocationClientOptions options);
new Azure.Maps.Geolocation.MapsGeolocationClient : Azure.AzureKeyCredential * Azure.Maps.Geolocation.MapsGeolocationClientOptions -> Azure.Maps.Geolocation.MapsGeolocationClient
Public Sub New (credential As AzureKeyCredential, options As MapsGeolocationClientOptions)
Parameters
- credential
- AzureKeyCredential
Shared key credential used to authenticate to an Azure Maps Geolocation Service.
- options
- MapsGeolocationClientOptions
The options for configuring the client.
Applies to
MapsGeolocationClient(AzureSasCredential, MapsGeolocationClientOptions)
- Source:
- MapsGeolocationClient.cs
Initializes a new instance of MapsGeolocationClient.
public MapsGeolocationClient (Azure.AzureSasCredential credential, Azure.Maps.Geolocation.MapsGeolocationClientOptions options);
new Azure.Maps.Geolocation.MapsGeolocationClient : Azure.AzureSasCredential * Azure.Maps.Geolocation.MapsGeolocationClientOptions -> Azure.Maps.Geolocation.MapsGeolocationClient
Public Sub New (credential As AzureSasCredential, options As MapsGeolocationClientOptions)
Parameters
- credential
- AzureSasCredential
The Shared Access Signature credential used to connect to Azure. This signature can be constructed using the AzureSasCredential.
- options
- MapsGeolocationClientOptions
The options for configuring the client.
Applies to
MapsGeolocationClient(TokenCredential, String)
- Source:
- MapsGeolocationClient.cs
Initializes a new instance of MapsGeolocationClient.
public MapsGeolocationClient (Azure.Core.TokenCredential credential, string clientId);
new Azure.Maps.Geolocation.MapsGeolocationClient : Azure.Core.TokenCredential * string -> Azure.Maps.Geolocation.MapsGeolocationClient
Public Sub New (credential As TokenCredential, clientId As String)
Parameters
- credential
- TokenCredential
A credential used to authenticate to an Azure Maps Geolocation Service.
- clientId
- String
Specifies which account is intended for usage in conjunction with the Microsoft Entra ID security model. It represents a unique ID for the Azure Maps account and can be retrieved from the Azure Maps management plane Account API. To use Microsoft Entra ID security in Azure Maps see the following articles for guidance.
Exceptions
credential
or clientId
is null.
Applies to
MapsGeolocationClient(TokenCredential, String, MapsGeolocationClientOptions)
- Source:
- MapsGeolocationClient.cs
Initializes a new instance of MapsGeolocationClient.
public MapsGeolocationClient (Azure.Core.TokenCredential credential, string clientId, Azure.Maps.Geolocation.MapsGeolocationClientOptions options);
new Azure.Maps.Geolocation.MapsGeolocationClient : Azure.Core.TokenCredential * string * Azure.Maps.Geolocation.MapsGeolocationClientOptions -> Azure.Maps.Geolocation.MapsGeolocationClient
Public Sub New (credential As TokenCredential, clientId As String, options As MapsGeolocationClientOptions)
Parameters
- credential
- TokenCredential
A credential used to authenticate to an Azure Maps Geolocation Service.
- clientId
- String
Specifies which account is intended for usage in conjunction with the Microsoft Entra ID security model. It represents a unique ID for the Azure Maps account and can be retrieved from the Azure Maps management plane Account API. To use Microsoft Entra ID security in Azure Maps see the following articles for guidance.
- options
- MapsGeolocationClientOptions
The options for configuring the client.
Exceptions
credential
or clientId
is null.
Applies to
Azure SDK for .NET