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
Applies to
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по