![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | 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) |
| | 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) |
| | 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) |
| | 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) |
| | 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 | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Still Trying to KILL wmplayer.exe DEAD, DEAD, DEAD | Vista General | |||
| RAS ASYNC Adapter? | Network & Sharing | |||
| Design for async call | .NET General | |||