[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 07:07:31 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-23 20:57:37.000000000 -0500
+++ shadow/76809.tmp.32233 2005-11-24 07:07:30.000000000 -0500
@@ -2,13 +2,13 @@
Product: Mono: Class Libraries
Version: unspecified
OS: Debian Woody
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: CORLIB
AssignedTo: mono-bugs at ximian.com
ReportedBy: amk at pobox.sk
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -86,6 +86,19 @@
------- Additional Comments From amk at pobox.sk 2005-11-23 20:57 -------
Created an attachment (id=16117)
sample libraryclass code
+
+------- Additional Comments From robertj at gmx.net 2005-11-24 07:07 -------
+You should use this on the client:
+
+LibraryClass obj = (LibraryClass) Activator.GetObject (
+ typeof(LibraryClass), "tcp://localhost:8089/SampleServer");
+
+or
+
+LibraryClass obj = (LibraryClass) RemotingServices.Connect (
+ typeof(LibraryClass), "tcp://localhost:8089/SampleServer");
+
+
More information about the mono-bugs
mailing list