Detecting CancelAsync within a SoapExtension



Hi all

I have a SoapExtension that is monitoring various aspects of all web service
activity from my WinForms client.

From within the extension, is there any way that I can detect that an
asynchronous web service method call was cancelled via the CancelAsync call?
At present, after a call to CancelAsync, no further activity is recorded in
the extension. Even my stream that I have chained via ChainStream is left
open - no call is made to Close() or Flush() my stream. From the perspective
of the extension, the request simply stops reporting back.

I am hoping that I can implement some form of explicit "dispose" pattern,
but my attempts at this have also failed.

Seeking inspiration....

Thanks
Neil.



.