ITicketStore.RemoveAsync 方法

定义

重载

RemoveAsync(String)

删除与给定密钥关联的标识。

RemoveAsync(String, CancellationToken)

删除与给定密钥关联的标识。

RemoveAsync(String, HttpContext, CancellationToken)

删除与给定密钥关联的标识。

RemoveAsync(String)

Source:
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)

Source:
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)

Source:
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,用于传播应取消操作的通知。

返回

适用于