[Mono-bugs] [Bug 76809][Nor] Changed - TargetInvocationException
when calling Activator.CreateInstance
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Nov 24 10:16:28 EST 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by robertj at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=76809
--- shadow/76809 2005-11-24 10:08:27.000000000 -0500
+++ shadow/76809.tmp.2059 2005-11-24 10:16:28.000000000 -0500
@@ -104,6 +104,15 @@
------- Additional Comments From amk at pobox.sk 2005-11-24 10:08 -------
What i try to do is a creation of client-activated object.
Activator.GetObject() and RemotingServices.Connect() are used in the
case of server-activated... that's what i read in the documentation.
+
+------- Additional Comments From robertj at gmx.net 2005-11-24 10:16 -------
+ok, then use RegisterActivatedClientType:
+
+RemotingConfiguration.RegisterActivatedClientType (
+ typeof(LibraryClass), "tcp://localhost:8089/SampleServer");
+
+LibraryClass obj = new LibraryClass();
+
More information about the mono-bugs
mailing list