共用方式為


BotFrameworkAdapter.GetConversationMembersAsync 方法

定義

列出目前交談的成員。

public virtual System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>> GetConversationMembersAsync (Microsoft.Bot.Builder.ITurnContext turnContext, System.Threading.CancellationToken cancellationToken);
abstract member GetConversationMembersAsync : Microsoft.Bot.Builder.ITurnContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>>
override this.GetConversationMembersAsync : Microsoft.Bot.Builder.ITurnContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount>>
Public Overridable Function GetConversationMembersAsync (turnContext As ITurnContext, cancellationToken As CancellationToken) As Task(Of IList(Of ChannelAccount))

參數

turnContext
ITurnContext

回合的內容物件。

cancellationToken
CancellationToken

取消權杖。

傳回

目前交談的成員清單。

適用於