public Task Timeout(MyTimeout state, IMessageHandlerContext context) { Logger.InfoFormat("Timeout reached with a count of: {0}", this.Data.Count); this.MarkAsComplete(); return(Task.FromResult(0)); }
/// <summary> /// The timeout. /// </summary> /// <param name="state"> /// The state. /// </param> public void Timeout(MyTimeout state) { Logger.InfoFormat("Timeout reached with a count of: {0}", this.Data.Count); this.MarkAsComplete(); }