-
December 29th, 2010, 09:21 AM
#1
How to display MessageBox from WCF service?
Hello,
I have WCF service with:
MessageBox.Show(...);
But, they're not displaying in Windows Forms client application. How can I make it work?
Thank you in advance.
Regards,
Goran
-
December 30th, 2010, 05:37 AM
#2
Re: How to display MessageBox from WCF service?
The WCF Service runs Server Side. It has no associated "Window" and therefore displaying child MessageBox(es) does not make sense. I assume you are doing this for debugging purposes??
If you are, consider using System.Diagnostics.Debug.WriteLine() and its similar members.
Rob
-
Ohhhhh.... Old McDonald was dyslexic, E O I O EEEEEEEEEE.......
-
December 30th, 2010, 05:40 AM
#3
Re: How to display MessageBox from WCF service?
Use any logging framework to log such exception/messages. You cannot / should not use messagebox at service end.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|