|
Answer» .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. .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.
|