Dela via


ITicketStore.RemoveAsync Method

Definition

Overloads

RemoveAsync(String)

Remove the identity associated with the given key.

RemoveAsync(String, CancellationToken)

Remove the identity associated with the given key.

RemoveAsync(String, HttpContext, CancellationToken)

Remove the identity associated with the given key.

RemoveAsync(String)

Source:
ITicketStore.cs

Remove the identity associated with the given key.

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

Parameters

key
String

The key associated with the identity.

Returns

Applies to

RemoveAsync(String, CancellationToken)

Source:
ITicketStore.cs

Remove the identity associated with the given key.

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

Parameters

key
String

The key associated with the identity.

cancellationToken
CancellationToken

The CancellationToken used to propagate notifications that the operation should be canceled.

Returns

Applies to

RemoveAsync(String, HttpContext, CancellationToken)

Source:
ITicketStore.cs

Remove the identity associated with the given key.

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

Parameters

key
String

The key associated with the identity.

httpContext
HttpContext

The HttpContext associated with the current request.

cancellationToken
CancellationToken

The CancellationToken used to propagate notifications that the operation should be canceled.

Returns

Applies to