Share via


WorkflowAgentProvider.CreateConversationAsync(CancellationToken) Method

Definition

Asynchronously creates a new conversation and returns its unique identifier.

public abstract System.Threading.Tasks.Task<string> CreateConversationAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member CreateConversationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public MustOverride Function CreateConversationAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameters

cancellationToken
CancellationToken

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

Returns

The conversation identifier

Applies to