Share via


AgentThread.DeleteInternalAsync(CancellationToken) Method

Definition

Deletes the current thread. Checks have already been completed in the DeleteAsync(CancellationToken) method to ensure that the thread can be deleted.

protected abstract System.Threading.Tasks.Task DeleteInternalAsync(System.Threading.CancellationToken cancellationToken);
abstract member DeleteInternalAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected MustOverride Function DeleteInternalAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

A task that completes when the thread has been deleted.

Applies to