NotificationBot.ValidateInstallationAsync 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.
Validate the installation by getting paged memebers.
public System.Threading.Tasks.Task<bool> ValidateInstallationAsync(Microsoft.Bot.Schema.ConversationReference reference, System.Threading.CancellationToken cancellationToken = default);
member this.ValidateInstallationAsync : Microsoft.Bot.Schema.ConversationReference * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function ValidateInstallationAsync (reference As ConversationReference, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
Parameters
- reference
- ConversationReference
The ConversationReference of the bot installation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Returns false if receives "BotNotInConversationRoster" error, otherwise returns true