Pass parameters
-
Dear friends I want to pass a Form object through wcf as parameter but I can't. Is it possible to do that? Thanks
Agh
You can, but why would you want to do that? Surely the thing you're interested in is the data that the form contains; in which case, that is what you should be passing.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
You can, but why would you want to do that? Surely the thing you're interested in is the data that the form contains; in which case, that is what you should be passing.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
I need it because I don't know what is my form and it dynamically changes in server and I want to get it in client and show it. but when I set my parameter as Form object and use svcutil,It shows error and cannot create client code.
Agh
mehrdadov wrote:
I don't know what is my form and it dynamically changes in server
Are you saying that the server code instructs the client which form it should display? If so you should return some data which you can use as a key to determine which form to display.
Kevin