共用方式為


ITicketStore.RemoveAsync 方法

定義

多載

RemoveAsync(String)

移除與指定金鑰相關聯的身分識別。

RemoveAsync(String, CancellationToken)

移除與指定金鑰相關聯的身分識別。

RemoveAsync(String, HttpContext, CancellationToken)

移除與指定金鑰相關聯的身分識別。

RemoveAsync(String)

來源:
ITicketStore.cs

移除與指定金鑰相關聯的身分識別。

public:
 System::Threading::Tasks::Task ^ RemoveAsync(System::String ^ key);
public System.Threading.Tasks.Task RemoveAsync (string key);
abstract member RemoveAsync : string -> System.Threading.Tasks.Task
Public Function RemoveAsync (key As String) As Task

參數

key
String

與身分識別相關聯的金鑰。

傳回

適用於

RemoveAsync(String, CancellationToken)

來源:
ITicketStore.cs

移除與指定金鑰相關聯的身分識別。

public virtual System.Threading.Tasks.Task RemoveAsync (string key, System.Threading.CancellationToken cancellationToken);
abstract member RemoveAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RemoveAsync (key As String, cancellationToken As CancellationToken) As Task

參數

key
String

與身分識別相關聯的金鑰。

cancellationToken
CancellationToken

用於散佈應取消作業通知的 CancellationToken

傳回

適用於

RemoveAsync(String, HttpContext, CancellationToken)

來源:
ITicketStore.cs

移除與指定金鑰相關聯的身分識別。

public virtual System.Threading.Tasks.Task RemoveAsync (string key, Microsoft.AspNetCore.Http.HttpContext httpContext, System.Threading.CancellationToken cancellationToken);
abstract member RemoveAsync : string * Microsoft.AspNetCore.Http.HttpContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RemoveAsync : string * Microsoft.AspNetCore.Http.HttpContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function RemoveAsync (key As String, httpContext As HttpContext, cancellationToken As CancellationToken) As Task

參數

key
String

與身分識別相關聯的金鑰。

httpContext
HttpContext

HttpContext 目前要求相關聯的 。

cancellationToken
CancellationToken

用於散佈應取消作業通知的 CancellationToken

傳回

適用於