MemoryTranscriptStore.GetTranscriptActivitiesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从与一组条件匹配的存储活动中获取 。
public System.Threading.Tasks.Task<Microsoft.Bot.Builder.PagedResult<Microsoft.Bot.Schema.IActivity>> GetTranscriptActivitiesAsync (string channelId, string conversationId, string continuationToken = default, DateTimeOffset startDate = default);
abstract member GetTranscriptActivitiesAsync : string * string * string * DateTimeOffset -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.PagedResult<Microsoft.Bot.Schema.IActivity>>
override this.GetTranscriptActivitiesAsync : string * string * string * DateTimeOffset -> System.Threading.Tasks.Task<Microsoft.Bot.Builder.PagedResult<Microsoft.Bot.Schema.IActivity>>
Public Function GetTranscriptActivitiesAsync (channelId As String, conversationId As String, Optional continuationToken As String = Nothing, Optional startDate As DateTimeOffset = Nothing) As Task(Of PagedResult(Of IActivity))
参数
- channelId
- String
会话所属通道的 ID。
- conversationId
- String
会话的 ID。
- continuationToken
- String
结果上一页的继续标记。
- startDate
- DateTimeOffset
截止日期。 不包括早于此日期的活动。
返回
表示排队等待执行的工作的任务。
实现
注解
如果任务成功完成,结果将包含一页匹配的活动。