I don't know what the Type parameter in the protected RealProxy contructors means. In the Interposer sample, the RealProxy subclass calls the super-class passing it the typeof(MarshalByRefObject) parameter, but *any* interface type works. The only documentation I've found so far about that parameter is in runtime.cpp in Rotor: // Create a tranparent proxy that behaves as an object of the desired class What means to *behave* as an object of a certain class ?
----- Original Message ----- From: "Sievert, James A" <[EMAIL PROTECTED]> Sent: Friday, May 24, 2002 6:29 AM Subject: Java-like interposer (was: Proxy class) > I've created an example that I believe to be the makings of a .Net > equivalent to the Java proxy. You can find it here [1]. As always, your > actual mileage may vary... > > Jim > > [1] http://www.gotdotnet.com/userfiles/JimSievert/Interposer.zip > You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.