AcquireTokenForClientParameterBuilder.WithPreferredAzureRegion Method
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.
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