Sdílet prostřednictvím


TargetSkippedEventArgs Class

Definition

Arguments for the target skipped event.

public ref class TargetSkippedEventArgs : Microsoft::Build::Framework::BuildMessageEventArgs
[System.Serializable]
public class TargetSkippedEventArgs : Microsoft.Build.Framework.BuildMessageEventArgs
[<System.Serializable>]
type TargetSkippedEventArgs = class
    inherit BuildMessageEventArgs
Public Class TargetSkippedEventArgs
Inherits BuildMessageEventArgs
Inheritance
Attributes

Constructors

TargetSkippedEventArgs()

Initializes a new instance of the TargetSkippedEventArgs class.

TargetSkippedEventArgs(String, Object[])

Initializes a new instance of the TargetSkippedEventArgs class.

Fields

locker

Lock object.

(Inherited from LazyFormattedBuildEventArgs)

Properties

BuildEventContext

Event contextual information for the build event argument

(Inherited from BuildEventArgs)
BuildReason

Why the parent target built this target.

Code

Code associated with event.

(Inherited from BuildMessageEventArgs)
ColumnNumber

Column number of interest in associated file.

(Inherited from BuildMessageEventArgs)
Condition

The condition expression on the target declaration.

EndColumnNumber

Ending column number of interest in associated file.

(Inherited from BuildMessageEventArgs)
EndLineNumber

Ending line number of interest in associated file.

(Inherited from BuildMessageEventArgs)
EvaluatedCondition

The value of the condition expression as it was evaluated.

File

File associated with event.

(Inherited from BuildMessageEventArgs)
HelpKeyword

Custom help keyword associated with event.

(Inherited from BuildEventArgs)
Importance

Importance of the message

(Inherited from BuildMessageEventArgs)
LineNumber

Line number of interest in associated file.

(Inherited from BuildMessageEventArgs)
Message
Message

Gets the formatted message.

(Inherited from LazyFormattedBuildEventArgs)
OriginalBuildEventContext

BuildEventContext describing the original build of the target, or null if not available.

OriginallySucceeded

Whether the target succeeded originally.

ParentTarget

Gets or sets the parent target of the target being skipped.

ProjectFile

The project which was building when the message was issued.

(Inherited from BuildMessageEventArgs)
RawMessage

Exposes the underlying message field without side-effects. Used for serialization.

(Inherited from BuildEventArgs)
RawTimestamp

Exposes the private timestamp field to derived types. Used for serialization. Avoids the side effects of calling the Timestamp getter.

(Inherited from BuildEventArgs)
SenderName

Name of the object sending this event.

(Inherited from BuildEventArgs)
SkipReason

The reason why the target was skipped.

Subcategory

The custom sub-type of the event.

(Inherited from BuildMessageEventArgs)
TargetFile

File where this target was declared.

TargetName

Gets or sets the name of the target being skipped.

ThreadId

The thread that raised event.

(Inherited from BuildEventArgs)
Timestamp

The time when event was raised.

(Inherited from BuildEventArgs)

Applies to