語言

ClientApplicationBase.RemoveAsync 方法

定義

多載

名稱 Description
RemoveAsync(IAccount)

移除該帳號快取中的所有代幣。

RemoveAsync(IAccount, CancellationToken)

移除該帳號快取中的所有代幣。

RemoveAsync(IAccount)

移除該帳號快取中的所有代幣。

public System.Threading.Tasks.Task RemoveAsync(Microsoft.Identity.Client.IAccount account);
abstract member RemoveAsync : Microsoft.Identity.Client.IAccount -> System.Threading.Tasks.Task
override this.RemoveAsync : Microsoft.Identity.Client.IAccount -> System.Threading.Tasks.Task
Public Function RemoveAsync (account As IAccount) As Task

參數

account
IAccount

需要移除的帳號範例

傳回

實作

適用於

RemoveAsync(IAccount, CancellationToken)

移除該帳號快取中的所有代幣。

public System.Threading.Tasks.Task RemoveAsync(Microsoft.Identity.Client.IAccount account, System.Threading.CancellationToken cancellationToken = default);
member this.RemoveAsync : Microsoft.Identity.Client.IAccount * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemoveAsync (account As IAccount, Optional cancellationToken As CancellationToken = Nothing) As Task

參數

account
IAccount

需要移除的帳號範例

cancellationToken
CancellationToken

取消令牌

傳回

適用於