Scope of publication in Remoting
Posted on April 16th , 2009 by Admin
|
|
.NET Remoting exposes objects to other application domains as if they are local, with a few exceptions. The two exceptions most likely to trip you up are:
• Static members are never remoted. Remoting always deals with some form of object instance member.
• Private methods are never remoted. You cannot wrap and pass a delegate to a private method. This includes remote event handlers.
The other exceptions are less likely to cause you trouble. The online documentation provides a complete list and explanation of the exceptions.
|
|
|