How to: Set the Activation Type of an Application 

.NET Framework 2.0

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

Example

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

Compiling the Code

This example requires:

See Also

Community Additions

ADD
Show: