AgentThread.CreateInternalAsync(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.
Creates the thread and returns the thread id. Checks have already been completed in the CreateAsync(CancellationToken) method to ensure that the thread can be created.
protected abstract System.Threading.Tasks.Task<string?> CreateInternalAsync(System.Threading.CancellationToken cancellationToken);
abstract member CreateInternalAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Protected MustOverride Function CreateInternalAsync (cancellationToken As CancellationToken) As Task(Of String)
Parameters
- cancellationToken
- CancellationToken
The CancellationToken to monitor for cancellation requests. The default is None.
Returns
The id of the thread that was created if one is available.