AgentChannel.ResetAsync(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.
Reset any persistent state associated with the channel.
protected internal abstract System.Threading.Tasks.Task ResetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ResetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Friend MustOverride Function ResetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- cancellationToken
- CancellationToken
The CancellationToken to monitor for cancellation requests. The default is None.
Returns
Remarks
The channel wont' be reused; rather, it will be discarded and a new one created.