AgentThread.DeleteInternalAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.