public static Task CancelScheduledMessage(this IPublishEndpoint publishEndpoint, Guid tokenId)
 {
     return(publishEndpoint.CancelScheduledSend(tokenId));
 }
 public static Task CancelScheduledMessage <T>(this IPublishEndpoint publishEndpoint, ScheduledMessage <T> message)
     where T : class
 {
     return(publishEndpoint.CancelScheduledSend(message));
 }