try {
HttpContext ctx = HttpContext.Current;System.Threading.Tasks.Task.Factory.StartNew(() =>{HttpContext.Current = ctx;System.Threading.Thread.Sleep(5 * 60 * 1000);Sendafter5mins(param1,params2);});
HttpContext ctx = HttpContext.Current;
System.Threading.Tasks.Task.Factory.StartNew(() =>
{
HttpContext.Current = ctx;
System.Threading.Thread.Sleep(5 * 60 * 1000);
Sendafter5mins(param1,params2);
});
} catch (Exception EX){//Log Exception if any }