NotificationBot.GetInstallationsAsync(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.
Caution
Use GetPagedInstallationsAsync instead.
Get all targets where the bot is installed.
[System.Obsolete("Use GetPagedInstallationsAsync instead.")]
public System.Threading.Tasks.Task<Microsoft.TeamsFx.Conversation.TeamsBotInstallation[]> GetInstallationsAsync (System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Use GetPagedInstallationsAsync instead.")>]
member this.GetInstallationsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamsFx.Conversation.TeamsBotInstallation[]>
Public Function GetInstallationsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of TeamsBotInstallation())
Parameters
- cancellationToken
- CancellationToken
The cancellation token.
Returns
An array of TeamsBotInstallation.
- Attributes
Remarks
The result is retrieving from the persisted storage.