dimanche 12 avril 2015

ASP.NET MVC How to check in code if Revalee callback was scheduled successfully?


Vote count:

0




ASP.NET 4.5, MVC 5 I'm using Revalee service to set time for sending an email:



var serviceHost = "localhost";
var callbackDelay = TimeSpan.FromMinutes(someNumberOfMinutes);
Uri callbackUri = new Uri(string.Format("http://localhost:8080/Email/SendEmail/{0}", emailId));
Guid callbackId = RevaleeRegistrar.ScheduleCallback(serviceHost, callbackDelay, callbackUri);


I want to make sure that callback was scheduled successfully, before proceeding with further logic. How do I check that?


Any help is appreciated.



asked 23 secs ago

Lera

62






ASP.NET MVC How to check in code if Revalee callback was scheduled successfully?

Aucun commentaire:

Enregistrer un commentaire