static public void Cancel(Guid workflowId, Guid objectId, string upn) { using (BasicChannel channel = new BasicChannel()) { channel.Cancel(workflowId, objectId, upn); } }