Hi Experts,
I have implemented a simple C# class library called "Business.dll". This class exposes a method called GetStatistics(int statisticID) which returns a string of XML data. I have registered the dll in my Front End Applicaction but once the GetStatistics method is called it actually takes quite some time to complete the process of generating the data.
I would like to add a facility whereby I can provide feedback to the client(in this case the Application) from the dll as I complete the GetStatistics process e.g. once 10% of the work is complete I would like the application to somehow be informed that 10% of the work is complete and I would also like the ability to allow the Application to Abort the calcuation.
Can someone please instruct me on how to go about this? I assume I have to enable some form of Callback in the .dll?
Thanks,
j.
Start Free Trial