Export (0) Print
Expand All

HostObjectInitializationStatus Enumeration

Defines the next action for ToolTask after an attempt to initialize the host object.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.v4.0 (in Microsoft.Build.Utilities.v4.0.dll)

public enum HostObjectInitializationStatus

Member nameDescription
UseHostObjectToExecuteIndicates that an appropriate host object for this task exists, which can support all of the parameters passed in and should be invoked to do the real work of the task.
UseAlternateToolToExecuteIndicates that either a host object is not available, or that the host object is not capable of supporting all of the features required for this build. Therefore, ToolTask should fallback to an alternate means of doing the build, such as invoking the command-line tool.
NoActionReturnSuccessIndicates that the host object is up to date, and that no further action is necessary.
NoActionReturnFailureIndicates that some of the parameters being passed into the task are invalid, and that the task should fail immediately.

HostObjectInitializationStatus is the return type of the InitializeHostObject method of the ToolTask class.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft