ChannelServiceHandlerBase.HandleCreateConversationAsync 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.
Create a new Conversation.
public System.Threading.Tasks.Task<Microsoft.Bot.Schema.ConversationResourceResponse> HandleCreateConversationAsync (string authHeader, Microsoft.Bot.Schema.ConversationParameters parameters, System.Threading.CancellationToken cancellationToken = default);
member this.HandleCreateConversationAsync : string * Microsoft.Bot.Schema.ConversationParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.ConversationResourceResponse>
Public Function HandleCreateConversationAsync (authHeader As String, parameters As ConversationParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConversationResourceResponse)
Parameters
- authHeader
- String
The authentication header.
- parameters
- ConversationParameters
Parameters to create the conversation from.
- cancellationToken
- CancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Returns
A Task<TResult> representing the result of the asynchronous operation.