Partilhar via


AcquireTokenForClientParameterBuilder.WithPreferredAzureRegion Method

Definition

Caution

Use WithAzureRegion on the ConfidentialClientApplicationBuilder object

Please use WithAzureRegion on the ConfidentialClientApplicationBuilder object

[System.Obsolete("Use WithAzureRegion on the ConfidentialClientApplicationBuilder object", true)]
public Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder WithPreferredAzureRegion (bool useAzureRegion = true, string regionUsedIfAutoDetectFails = "", bool fallbackToGlobal = true);
[<System.Obsolete("Use WithAzureRegion on the ConfidentialClientApplicationBuilder object", true)>]
member this.WithPreferredAzureRegion : bool * string * bool -> Microsoft.Identity.Client.AcquireTokenForClientParameterBuilder
Public Function WithPreferredAzureRegion (Optional useAzureRegion As Boolean = true, Optional regionUsedIfAutoDetectFails As String = "", Optional fallbackToGlobal As Boolean = true) As AcquireTokenForClientParameterBuilder

Parameters

useAzureRegion
Boolean
regionUsedIfAutoDetectFails
String
fallbackToGlobal
Boolean

Returns

Attributes

Applies to