RegisteredTaskObjectLifetime Enumeration

Defines the lifetime of a registered task object.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

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

Syntax

'Declaration
Public Enumeration RegisteredTaskObjectLifetime
public enum RegisteredTaskObjectLifetime
public enum class RegisteredTaskObjectLifetime
type RegisteredTaskObjectLifetime
public enum RegisteredTaskObjectLifetime

Members

Member name Description
AppDomain The registered object will be disposed when the AppDomain in which the build was launched is unloadedMSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Build The registered object will be disposed when the build ends.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

See Also

Reference

Microsoft.Build.Framework Namespace