Hi all,
When you have a code segment like the following:
ChannelServices.RegisterChannel(new TcpClientChannel());
RemotingConfiguration.RegisterWellKnownClientType(typeof(TransactionMaintenance), "tcp://localhost:1235/TransactionMaintenance");
this.transactionMaintenance = new TransactionMaintenance();
I wasn't able to find a link between the type registration and the object
instantiation.
If you inspect the IL for this code the object instantiation is done with a
newobj opcode just as would have been done for a local object.
How does the CLR know that it should instantiate a remote class instead of a
local one?
Thanks in advance.
Alfred Gary Myers Jr.
http://www.yuma.com.brhttp://br.thespoke.net/MyBlog/alfred_myers/MyBlog.aspx