TeamsBotInstallation.GetMembersAsync(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 GetPagedMembersAsync instead.
Get members from this bot installation.
[System.Obsolete("Use GetPagedMembersAsync instead.")]
public System.Threading.Tasks.Task<Microsoft.TeamsFx.Conversation.Member[]> GetMembersAsync (System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Use GetPagedMembersAsync instead.")>]
member this.GetMembersAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamsFx.Conversation.Member[]>
Public Function GetMembersAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Member())
Parameters
- cancellationToken
- CancellationToken
The cancellation token.
Returns
An array of members from where the bot is installed.
- Attributes