Пример #1
0
 /// <summary>
 /// ExportBotStateData
 /// </summary>
 /// <remarks>
 /// get all the state data for a bot in this channel. This returns a list of
 /// BotStateData and (possibly) a continuation token
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='channelId'>
 /// the channelId
 /// </param>
 /// <param name='continuationToken'>
 /// the skip token returned previously, or null
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <BotStateDataResult> ExportBotStateDataAsync(this IBotState operations, string channelId, string continuationToken = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ExportBotStateDataWithHttpMessagesAsync(channelId, continuationToken, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }