views:

602

answers:

1

I have a Silverlight 2 application that calls a WCF Service that invokes a database stored procedure. The query could take several minutes to process and I want to provide a cancel button on the client UI.

How do I properly abort the WCF operation that was called? What is the best practice?

+2  A: 

There's a nice article covering this subject. It uses a WinForms client but it should be applicable to Silverlight also.

Darin Dimitrov