public async Task SendMessageAsync(PackageValidationMessageData message, DateTimeOffset postponeProcessingTill) { var brokeredMessage = _serializer.SerializePackageValidationMessageData(message); brokeredMessage.ScheduledEnqueueTimeUtc = postponeProcessingTill; await _topicClient.SendAsync(brokeredMessage); }
public IBrokeredMessage Serialize(PackageValidationMessageData message) => _serializer.SerializePackageValidationMessageData(message);