Share via


AzureAgentProvider.CreateConversationAsync(CancellationToken) Method

Definition

Asynchronously creates a new conversation and returns its unique identifier.

public override System.Threading.Tasks.Task<string> CreateConversationAsync(System.Threading.CancellationToken cancellationToken = default);
override this.CreateConversationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overrides 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