Export (0) Print
Expand All
Expand Minimize

RegisteredTaskObjectLifetime Enumeration

.NET Framework 4.6 and 4.5

Defines the lifetime of a registered task object.

Namespace:  Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

public enum RegisteredTaskObjectLifetime

Member nameDescription
AppDomainThe registered object will be disposed when the AppDomain in which the build was launched is unloaded
BuildThe registered object will be disposed when the build ends.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft