Share via


NotificationBot.GetInstallationsAsync(CancellationToken) Method

Definition

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.

Applies to