How to: Set the Activation Type of an Application

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This example shows how to set the activation type to "server".

using System.EnterpriseServices;
[ assembly: ApplicationActivation(ActivationOption.Server)] 
public class Account : ServicedComponent
{
   static void Main() {}
}

This example requires:

Show: