remoting client initialisation general

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

what is the difference between these two client initlisations ? I don't
understand the difference in using these two concept wise. please explain..

MarshalByRefObject obj = (MarshalByRefObject) RemotingServices.Connect

(typeof(play.ICalc), "http://localhost:8000/tom.soap");


_____________________________________________

IOperationManager mgr = (IOperationManager)
Activator.GetObject(typeof(IOperationManager),

http://localhost:8000/communicate.soap);




Thankyou
Tom
 
Activator.GetObject checks the passed in type object for null and then calles RemotingServices.Connect

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog

nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/<[email protected]>

what is the difference between these two client initlisations ? I don't
understand the difference in using these two concept wise. please explain..

MarshalByRefObject obj = (MarshalByRefObject) RemotingServices.Connect

(typeof(play.ICalc), "http://localhost:8000/tom.soap");


_____________________________________________

IOperationManager mgr = (IOperationManager)
Activator.GetObject(typeof(IOperationManager),

http://localhost:8000/communicate.soap);




Thankyou
Tom



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004



[microsoft.public.dotnet.languages.csharp]
 
Back
Top