語言

ClientApplicationBase.GetAccountAsync 方法

定義

多載

名稱 Description
GetAccountAsync(String)

在代幣快取中可用帳戶中取得 的 IAccount 識別碼。

GetAccountAsync(String, CancellationToken)

在代幣快取中可用帳戶中取得 的 IAccount 識別碼。

GetAccountAsync(String)

在代幣快取中可用帳戶中取得 的 IAccount 識別碼。

public System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount> GetAccountAsync(string accountId);
abstract member GetAccountAsync : string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount>
override this.GetAccountAsync : string -> System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount>
Public Function GetAccountAsync (accountId As String) As Task(Of IAccount)

參數

accountId
String

帳戶識別碼。 識別碼通常是 屬性AccountId的值Identifier。 通常你是透過使用HomeAccountId該物業取得IAccount帳號 ID>

傳回

實作

適用於

GetAccountAsync(String, CancellationToken)

在代幣快取中可用帳戶中取得 的 IAccount 識別碼。

public System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount> GetAccountAsync(string accountId, System.Threading.CancellationToken cancellationToken = default);
member this.GetAccountAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Identity.Client.IAccount>
Public Function GetAccountAsync (accountId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IAccount)

參數

accountId
String

帳戶識別碼。 識別碼通常是 屬性AccountId的值Identifier。 通常你是透過使用HomeAccountId該物業取得IAccount帳號 ID>

cancellationToken
CancellationToken

取消令牌

傳回

適用於