You will need to post some code to demonstrate your problem.
Passing parameters to a remote object is performed in exactly the same way
as a passing parameters to a local method.
However, if your parameters are of types you have defined (i.e. classes you
have defined) then these classes must be marked as Serializable to be able to
leave your local AppDomain.
HTH
Dan
> Hello Everyone,
>
[quoted text clipped - 12 lines]
>
> ASP HUNTER
Great Hackomania - 23 May 2005 10:14 GMT
Hello,
Thanks for your help.
I have made some methods that use the HttpApplicationState Object.
I have made a remoting class, now what i have to do is to pass my webforms
application state into that method with a string parameter.
But when I try to do this it gives me error.
My Program structure is like
1.Server Program: That will wait for client.It Uses the Http Channel and
the Binary formatter.
2.Remote Class: Basically this will declare and define all the methods that
were in my WebService.
3.Client Program: That is a WebBased Application, and will call these
methods on user request.
Now I have to Pass my HttpApplicationState Object of the Web App to the
Remote class's Method.
Can you please tell me how I can do this?
Thanks
ASP HUNTER