Being on the client there can be some sort of loading panel or in csla terms an busyanimation while calling an factory method with an ASync callback.
Anyone with an idea on how to cancel an dataportal request?
Noone with an idea?
The only idea's i have at the moment:
-> use a time out
Just let the handler go or ignore it when it the callback is made;
-> give direct an identity back to the caller
This way the caller (UI) can pass it when calling an second factory method or command like canceling or asking the progress information, but then the server must know what to do with it.
Any suggestions?
All you can really do is ignore the callback.
There's nothing in the WCF proxy for cancelling a server call, so I don't think there's any way to actually do a meaningful cancel of the operation - all you can do is have the client app ignore whatever result you get back.
Copyright (c) Marimer LLC