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
NoActionReturnFailureIndicates that some of the parameters being passed into the task are invalid, and that the task should fail immediately.
NoActionReturnSuccessIndicates that the host object is up to date, and that no further action is necessary.
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.
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.

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

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft