TargetSkippedEventArgs Class

Summary

Arguments for the target skipped event.
Namespace
Microsoft.Build.Framework
Base Types
  • BuildMessageEventArgs
graph TD Base0["BuildMessageEventArgs"]-->Type Type["TargetSkippedEventArgs"] class Type type-node

Syntax

public class TargetSkippedEventArgs : BuildMessageEventArgs

Constructors

Name Summary
TargetSkippedEventArgs() Initializes a new instance of the TargetSkippedEventArgs class.
TargetSkippedEventArgs(string, object[]) Initializes a new instance of the TargetSkippedEventArgs class.

Properties

Name Value Summary
BuildReason TargetBuiltReason
Why the parent target built this target.
ParentTarget string
Gets or sets the parent target of the target being skipped.
TargetFile string
File where this target was declared.
TargetName string
Gets or sets the name of the target being skipped.