![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | How to call the callback method from host (not from service which hosted)? I written the windows service hosted the WCF service which have callback features. I can call callback method from service and client. However, some case is need to call callback functions to notify client side. For example, our windows service is stopping, it is need to notify the client. But I don't know how to raise callback from host. Is there any example or methods to help me? How to call the callback method from host (not from service which hosted)? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How to call the callback method from host (not from service which hosted)? Greetings Your service should have a duplex contract. To create a duplex contract check this URL: http://msdn2.microsoft.com/en-us/library/ms731184.aspx To create a client that consumes a duplex contract check this: http://msdn2.microsoft.com/en-us/library/ms731935.aspx Regards Sherif "ABC" <abc@abc.com> wrote in message news:OHteO1QoHHA.4024@TK2MSFTNGP02.phx.gbl... >I written the windows service hosted the WCF service which have callback >features. I can call callback method from service and client. However, >some case is need to call callback functions to notify client side. For >example, our windows service is stopping, it is need to notify the client. >But I don't know how to raise callback from host. Is there any example or >methods to help me? > > How to call the callback method from host (not from service which hosted)? > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How do you call a method? | VB Script | |||
| Destroy a Timer object in its callback method | .NET General | |||
| WCF service hosted in IIS | .NET General | |||