Timeout messages

Dec 12, 2016 at 8:14 AM
Edited Dec 12, 2016 at 8:15 AM

How can I set a Timeout when an endpoint isn't available anymore?
Due to power failure and the program couldn't call dependency.Stop();.

With kind regards
Dec 13, 2016 at 1:25 PM
Hello WagoL,

TableDependency is already taking care of this. You will observe that when the application exits abruptly, after 3 minutes of inactivity, the infrastructure is automatically removed from the database.

However you can further customize the timeout by passing a different value upon starting. Please have a look at this: https://tabledependency.codeplex.com/wikipage?title=SqlTableDependency%20Start%20Method