How can i have any kind of data returned from a method or property within a time frame, and if any data is returned within that time frame an exception is thrown?
Pretty much I have a simple method that will perform a simple task, once performed the method returns a value, and if any value is returned within 100 milliseconds I want that the method be aborted and an exception be thrown, for instance a TimeoutException
for example, any kind of exception, as long it does the task.
Thanks everyone.