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 (in microsoft.build.utilities.dll)

public enum HostObjectInitializationStatus
public enum HostObjectInitializationStatus
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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft