Export (0) Print
Expand All

EventTrackingEnabledAttribute Constructor (Boolean)

Initializes a new instance of the EventTrackingEnabledAttribute class, optionally disabling event tracking.

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

public EventTrackingEnabledAttribute(
	bool val


Type: System.Boolean

true to enable event tracking; otherwise, false.

The following code example creates a new EventTrackingEnabledAttribute.

public class EventTrackingEnabledAttribute_Ctor_Bool : ServicedComponent

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft