Remotable and Nonremotable Objects

It is important to remember that an object created in, and therefore specific to, an application ___domain can be called directly from that ___domain, but something special must occur before that object can be available outside its ___domain. Not every type of object can be efficiently published or consumed across ___domain boundaries; therefore, you must decide which type of object you want to publish based on the needs of your application.

For the purposes of distributed applications, there are two simple categories of objects:

  • Nonremotable objects.

    Nonremotable objects cannot be copied or represented in another application ___domain. These objects are accessible only from their original application ___domain.

  • Remotable objects.

    Remotable objects can be accessed outside their application ___domain or context using a proxy, or they can be copied and these copies can be passed outside their application ___domain or context; that is, some remotable objects are passed by reference and some are passed by value.

See Also

.NET Remoting Overview | Making Objects Remotable | Nonremotable Objects | Remotable Objects | Scope of Publication