Compartilhar via


Object Activation and Lifetimes

This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the Windows Communication Foundation (WCF).

Usually, you do not need to pay attention to exactly when an object is created; you merely want the object to be responsive when you call a method on it. However, when you are building a remote object, you must know the details of when and how a new object is created and initialized — how it is activated. Because the remoting system must always know what type of activation is required before it can make objects available to clients, understanding your choices is important.

In This Section