private async void Admin_OnCancelRequestReceived(Guid jobID, CancelJobReason reason) { await this.Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { if (this.currentShow != null) { this.currentShow.Cancel(); this.currentShow = null; this.LayoutContainer.Children.Clear(); EventsManager.Log(Job_EventType.Aborted, null, "Job " + jobID.ToString() + " has been canceled. Reason: " + reason.ToString()); } }); }
public RCS_Job_Cancel(CancelJobReason reason, Guid jobID, RemoteType remote) : base(remote) { this.Reason = reason; this.JobID = jobID; }