How to set time for execute a function ;If function exceed the time it should come to the next state ment after function? RRS feed

  • Question

  • hi all,
     I wanted to make ASP.Net C# application.In that i encounter need where i need to set timeout for a function.If function take more than 40 sec for execution than it should rais exception.If any body can help regarding the same,Please reply.
    Thank you in advance

    Regards Tejas Suthar
    Monday, September 7, 2009 7:21 AM