Share via


FlatTrackingData.IsUpToDate Method (Task, UpToDateCheckType, array<ITaskItem[], array<ITaskItem )

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)

Syntax

'Declaration
Public Shared Function IsUpToDate ( _
    hostTask As Task, _
    upToDateCheckType As UpToDateCheckType, _
    readTLogNames As ITaskItem(), _
    writeTLogNames As ITaskItem() _
) As Boolean
public static bool IsUpToDate(
    Task hostTask,
    UpToDateCheckType upToDateCheckType,
    ITaskItem[] readTLogNames,
    ITaskItem[] writeTLogNames
)
public:
static bool IsUpToDate(
    Task^ hostTask, 
    UpToDateCheckType upToDateCheckType, 
    array<ITaskItem^>^ readTLogNames, 
    array<ITaskItem^>^ writeTLogNames
)
static member IsUpToDate : 
        hostTask:Task * 
        upToDateCheckType:UpToDateCheckType * 
        readTLogNames:ITaskItem[] * 
        writeTLogNames:ITaskItem[] -> bool
public static function IsUpToDate(
    hostTask : Task, 
    upToDateCheckType : UpToDateCheckType, 
    readTLogNames : ITaskItem[], 
    writeTLogNames : ITaskItem[]
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns true if everything is up to date; false otherwise.

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.

.NET Framework Security

See Also

Reference

FlatTrackingData Class

IsUpToDate Overload

Microsoft.Build.Utilities Namespace