AzureAgentProvider.CreateConversationAsync(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.
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