N
Nicholas Paldino [.NET/C# MVP]
The best way to do this would be to spawn another thread in your method,
and then wait on the execution thread until the task is complete. If the
method has not completed, then you would then fire your event indicating
that the method timed out.
Hope this helps.
and then wait on the execution thread until the task is complete. If the
method has not completed, then you would then fire your event indicating
that the method timed out.
Hope this helps.