다음을 통해 공유


ProjectTaskInstance Class

Definition

Wraps a task element

public ref class ProjectTaskInstance sealed : Microsoft::Build::Execution::ProjectTargetInstanceChild
public sealed class ProjectTaskInstance : Microsoft.Build.Execution.ProjectTargetInstanceChild
type ProjectTaskInstance = class
    inherit ProjectTargetInstanceChild
Public NotInheritable Class ProjectTaskInstance
Inherits ProjectTargetInstanceChild
Inheritance
ProjectTaskInstance

Remarks

This is an immutable class

Properties

Condition

Unevaluated condition on the task May be empty string.

ConditionLocation

Location of the condition, if any

ConditionLocation

Location of the original condition attribute if any

(Inherited from ProjectTargetInstanceChild)
ContinueOnError

Unevaluated ContinueOnError on the task. May be empty string.

ContinueOnErrorLocation

Location of the ContinueOnError attribute, if any

FullPath

Full path to the file in which the originating element was originally defined. If it originated in a project that was not loaded and has never been given a path, returns an empty string.

(Inherited from ProjectTargetInstanceChild)
Location

Location of the original element

Location

Location of the original element

(Inherited from ProjectTargetInstanceChild)
MSBuildArchitecture

Unevaluated MSBuildArchitecture on the task. May be empty string.

MSBuildArchitectureLocation

Location of the MSBuildArchitecture attribute, if any

MSBuildRuntime

Unevaluated MSBuildRuntime on the task. May be empty string.

MSBuildRuntimeLocation

Location of the MSBuildRuntime attribute, if any

Name

Name of the task, possibly qualified, as it appears in the project

Outputs

Ordered set of output property and item objects. This is a read-only dead collection.

Parameters

Read-only dead unordered set of task parameter names and unevaluated values. Condition and ContinueOnError, which have their own properties, are not included in this collection.

Applies to