Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - How to call the callback method from host (not from service which hosted)?

 
 
Old 05-28-2007   #1 (permalink)
ABC


 
 

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 SpecsSystem Spec
Old 08-24-2007   #2 (permalink)
Sherif Elmetainy


 
 

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 SpecsSystem Spec
 

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46