![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | WCF async model and dead client Hi, I am using WCF with async model. Now I have the problem to identify if the client is dead in this model. In sync model if the client dead, function call just throws exception. But in async model call to begin* method always succeed, either client alive or dead. Only the end* method does not called if the client is dead. So how can I identify if the client is dead in simple way before calling the begin* method ? Thanks, Pavel |
My System Specs![]() |
| | #2 (permalink) |
| Guest | Re: WCF async model and dead client Hi! Async model in WCF is model when client talk asynchoneously with WCF layer and service know nothing about that. Do you mean that on return service function receive exception if client disappear during execution ? Because on call even in dual binding service don't know nothing about client death and WCF layer don't tell to service about that Arkady <pavel.orehov@gmail.com> wrote in message news:1164536261.287986.70280@l12g2000cwl.googlegroups.com... > Hi, > > I am using WCF with async model. > > Now I have the problem to identify if the client is dead in this model. > > In sync model if the client dead, function call just throws exception. > But in async model call to begin* method always succeed, either client > alive or dead. Only the end* method does not called if the client is > dead. > > So how can I identify if the client is dead in simple way before > calling the begin* method ? > > Thanks, > Pavel > |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: WCF async model and dead client BTW that's why dual usually have to be Oneway operation contract, but really that can have blocked too http://blogs.msdn.com/ralph.squillac...e/2006/08.aspx Arkady "Arkady Frenkel" <arkadyf@hotmailxdotx.com> wrote in message news:%23aF470VEHHA.3396@TK2MSFTNGP02.phx.gbl... > Hi! > Async model in WCF is model when client talk asynchoneously with WCF layer > and service know nothing about that. > Do you mean that on return service function receive exception if client > disappear during execution ? > Because on call even in dual binding service don't know nothing about > client death and WCF layer don't tell to service about that > Arkady > > > <pavel.orehov@gmail.com> wrote in message > news:1164536261.287986.70280@l12g2000cwl.googlegroups.com... >> Hi, >> >> I am using WCF with async model. >> >> Now I have the problem to identify if the client is dead in this model. >> >> In sync model if the client dead, function call just throws exception. >> But in async model call to begin* method always succeed, either client >> alive or dead. Only the end* method does not called if the client is >> dead. >> >> So how can I identify if the client is dead in simple way before >> calling the begin* method ? >> >> Thanks, >> Pavel >> > > |
My System Specs![]() |
| | #4 (permalink) |
| Guest | Re: WCF async model and dead client Very sad. Well, I will add my logic to identify client death. Some timeout to response, and so on ... Thanks, Pavel |
My System Specs![]() |
| | #5 (permalink) |
| Guest | Re: WCF async model and dead client Hi Pavel, If you are using sessionful channel (e.g. TCP, ReliableMessaging), it is possible for you to register the client's faulted event, which will be raised eventually if the client is faulted. Thanks, Sara "pavel.orehov@gmail.com" wrote: > Very sad. > > Well, I will add my logic to identify client death. > > Some timeout to response, and so on ... > > Thanks, > Pavel > > |
My System Specs![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Design for async call | Fred | .NET General | 0 | 06-10-2008 03:56 AM |
| is it possible to create async processes? | Frank | PowerShell | 5 | 04-16-2007 07:47 AM |