Share via


TestAdapter.GetNextReplyAsync(CancellationToken) Method

Definition

Get the next reply async.

public System.Threading.Tasks.Task<Microsoft.Bot.Schema.IActivity> GetNextReplyAsync (System.Threading.CancellationToken cancellationToken = default);
member this.GetNextReplyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Bot.Schema.IActivity>
Public Function GetNextReplyAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IActivity)

Parameters

cancellationToken
CancellationToken

cancellation Token.

Returns

activity when it's available or canceled task if it is canceled.

Applies to