JustInTimeActivationAttribute Constructor (Boolean)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the JustInTimeActivationAttribute class, optionally allowing the disabling of just-in-time (JIT) activation by passing false as the parameter.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public JustInTimeActivationAttribute(
	bool val


Type: System.Boolean

true to enable JIT activation; otherwise, false.

JIT activation is required and val cannot be set to false if the TransactionOption value for the transaction is Supported, Required, or RequiresNew.

The following code example creates a new JustInTimeActivationAttribute.

public class JITAAttribute_Ctor_Bool : ServicedComponent

.NET Framework
Available since 1.1
Return to top