Пример #1
0
 private Task AcknowledgeAsync(Subscriptions subscriptionsClient, IEnumerable <string> ackIds, CancellationToken cancellationToken)
 {
     return(subscriptionsClient.AcknowledgeAsync($"projects/{triggerAttribute.ProjectId}/subscriptions/{triggerAttribute.SubscriptionId}",
                                                 new AcknowledgeRequest()
     {
         ackIds = ackIds
     },
                                                 null, cancellationToken));
 }