public async Task CancelSchedule(SchedulerCancelRequest schedulerCancelRequest, CancellationToken cancellationToken) { await _edgeService.SendMessageToOutput( Constants.Outputs.Scheduler, JsonConvert.SerializeObject(schedulerCancelRequest), cancellationToken, NameValue.Create(Constants.PropertyNames.RequestType, Constants.Scheduler.CancelRequest)); }