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
hostTask
Type: Microsoft.Build.Utilities.TaskThe host task.
upToDateCheckType
Type: Microsoft.Build.Utilities.UpToDateCheckTypeUpToDateCheckType
readTLogNames
Type: array<Microsoft.Build.Framework.ITaskItem[]The array of read tlogs
writeTLogNames
Type: array<Microsoft.Build.Framework.ITaskItem[]The array of write tlogs
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.