FlatTrackingData.IsUpToDate Method

Definition

Checks if the tracking data indicates that everything is up to date according to UpToDateCheckType.

Overloads

IsUpToDate(Task, UpToDateCheckType, ITaskItem[], ITaskItem[])

Checks to see if the tracking data indicates that everything is up to date according to UpToDateCheckType. Note: If things are not up to date, then the TLogs are compacted to remove all entries in preparation to re-track execution of work.

IsUpToDate(TaskLoggingHelper, UpToDateCheckType, FlatTrackingData, FlatTrackingData)

Simple check of up to date state according to the tracking data and the UpToDateCheckType. Note: No tracking log compaction will take place when using this overload

IsUpToDate(Task, UpToDateCheckType, ITaskItem[], ITaskItem[])

Source:
FlatTrackingData.cs

Checks to see if the tracking data indicates that everything is up to date according to UpToDateCheckType. Note: If things are not up to date, then the TLogs are compacted to remove all entries in preparation to re-track execution of work.

public:
 static bool IsUpToDate(Microsoft::Build::Utilities::Task ^ hostTask, Microsoft::Build::Utilities::UpToDateCheckType upToDateCheckType, cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ readTLogNames, cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ writeTLogNames);
public static bool IsUpToDate (Microsoft.Build.Utilities.Task hostTask, Microsoft.Build.Utilities.UpToDateCheckType upToDateCheckType, Microsoft.Build.Framework.ITaskItem[] readTLogNames, Microsoft.Build.Framework.ITaskItem[] writeTLogNames);
static member IsUpToDate : Microsoft.Build.Utilities.Task * Microsoft.Build.Utilities.UpToDateCheckType * Microsoft.Build.Framework.ITaskItem[] * Microsoft.Build.Framework.ITaskItem[] -> bool
Public Shared Function IsUpToDate (hostTask As Task, upToDateCheckType As UpToDateCheckType, readTLogNames As ITaskItem(), writeTLogNames As ITaskItem()) As Boolean

Parameters

hostTask
Task

The Task host

upToDateCheckType
UpToDateCheckType

UpToDateCheckType

readTLogNames
ITaskItem[]

The array of read tlogs

writeTLogNames
ITaskItem[]

The array of write tlogs

Returns

Remarks

If things are not up to date, then the TLogs are compacted to remove all entries in preparation to re-track execution of work.

Applies to

IsUpToDate(TaskLoggingHelper, UpToDateCheckType, FlatTrackingData, FlatTrackingData)

Source:
FlatTrackingData.cs

Simple check of up to date state according to the tracking data and the UpToDateCheckType. Note: No tracking log compaction will take place when using this overload

public:
 static bool IsUpToDate(Microsoft::Build::Utilities::TaskLoggingHelper ^ Log, Microsoft::Build::Utilities::UpToDateCheckType upToDateCheckType, Microsoft::Build::Utilities::FlatTrackingData ^ inputs, Microsoft::Build::Utilities::FlatTrackingData ^ outputs);
public static bool IsUpToDate (Microsoft.Build.Utilities.TaskLoggingHelper Log, Microsoft.Build.Utilities.UpToDateCheckType upToDateCheckType, Microsoft.Build.Utilities.FlatTrackingData inputs, Microsoft.Build.Utilities.FlatTrackingData outputs);
static member IsUpToDate : Microsoft.Build.Utilities.TaskLoggingHelper * Microsoft.Build.Utilities.UpToDateCheckType * Microsoft.Build.Utilities.FlatTrackingData * Microsoft.Build.Utilities.FlatTrackingData -> bool
Public Shared Function IsUpToDate (Log As TaskLoggingHelper, upToDateCheckType As UpToDateCheckType, inputs As FlatTrackingData, outputs As FlatTrackingData) As Boolean

Parameters

Log
TaskLoggingHelper

TaskLoggingHelper from the host task

upToDateCheckType
UpToDateCheckType

UpToDateCheckType to use

inputs
FlatTrackingData

FlatTrackingData structure containing the inputs

outputs
FlatTrackingData

FlatTrackingData structure containing the outputs

Returns

Remarks

No tracking log compaction will take place when using this overload

Applies to