Hi Gustavo,
Regarding this issue of the differences between teh Activator.GetObject and
RemotingServices.Connect, I would like to tell you that Activator.GetObject
Method creates a proxy for a well known object indicated by the specified
type and URL. The return value is a proxy that points to an end point served
by the requested well-known object. It calls the proxy to send the messages
to the remote object. No messages are sent over the network until a method
is called on the proxy.
The RemotingServices.Connect Method creates a proxy for a well known object,
given the Type such as class types, interface types, array types, value
types etc and the URL. It will return a proxy to a remote object that points
to an end point served by the specified well-known object. The returned
proxy object points to an end point served by the specified well known
object.
Hope this helps.
Regards,
Mona [Grapecity]
[quoted text, click to view] "Gustavo Guerra" <gmcg@acm.org> wrote in message
news:ulaSXtlpFHA.3004@TK2MSFTNGP15.phx.gbl...
> Hello
>
> Can some one explain me the difference between
> Activator.GetObject(serverType,url) and
> RemotingServices.Connect(serverType,url)? They seem to do exactly the
same.
>
> Best Regards,
> Gustavo Guerra
>
>