![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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 service object still alive when host is closed Hi, In my WCF services i running a thread to do some task, however when i close the host application, the host application still exists in task manager. How to clean off all the service resources when close the host application?? Thanks! |
My System Specs![]() |
| | #2 (permalink) |
| | Re: WCF service object still alive when host is closed You have to set thread's background attribute to true before you start it Arkady "Elvin" <Elvin@discussions.microsoft.com> wrote in message news A107FE6-374C-409E-95A5-30F4FB8626ED@microsoft.com...> Hi, > > In my WCF services i running a thread to do some task, however when i > close > the host application, the host application still exists in task manager. > How > to clean off all the service resources when close the host application?? > > Thanks! |
My System Specs![]() |
| | #3 (permalink) |
| | Re: WCF service object still alive when host is closed Thanks! is help!!! "Arkady Frenkel" wrote: > You have to set thread's background attribute to true before you start it > Arkady > > "Elvin" <Elvin@discussions.microsoft.com> wrote in message > news A107FE6-374C-409E-95A5-30F4FB8626ED@microsoft.com...> > Hi, > > > > In my WCF services i running a thread to do some task, however when i > > close > > the host application, the host application still exists in task manager. > > How > > to clean off all the service resources when close the host application?? > > > > Thanks! > > > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: WCF service object still alive when host is closed No problems , be aware that this division ( forground and backgroundthreads ) came to .Net from vista, so there even in native ( windows ) API you have that too Arkady "Elvin" <Elvin@discussions.microsoft.com> wrote in message news:66D57186-9227-4707-8E14-748481942078@microsoft.com... > Thanks! is help!!! > > "Arkady Frenkel" wrote: > >> You have to set thread's background attribute to true before you start it >> Arkady >> >> "Elvin" <Elvin@discussions.microsoft.com> wrote in message >> news A107FE6-374C-409E-95A5-30F4FB8626ED@microsoft.com...>> > Hi, >> > >> > In my WCF services i running a thread to do some task, however when i >> > close >> > the host application, the host application still exists in task >> > manager. >> > How >> > to clean off all the service resources when close the host >> > application?? >> > >> > Thanks! >> >> >> |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| host process for windows stopped working and was closed | Vista General | |||
| WMI Provider Host stopped working and was closed | Vista General | |||
| Wmi providor host has stopped working and was closed | Vista General | |||
| Host Process for Windows Services stopped working and was closed | Vista General | |||
| Host Process for Windows Services stopped working and was closed | Vista General | |||