FlatTrackingData.IsUpToDate Method (TaskLoggingHelper, UpToDateCheckType, FlatTrackingData, FlatTrackingData)
Simple check of up to date state according to the tracking data and the 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 ( _
Log As TaskLoggingHelper, _
upToDateCheckType As UpToDateCheckType, _
inputs As FlatTrackingData, _
outputs As FlatTrackingData _
) As Boolean
public static bool IsUpToDate(
TaskLoggingHelper Log,
UpToDateCheckType upToDateCheckType,
FlatTrackingData inputs,
FlatTrackingData outputs
)
public:
static bool IsUpToDate(
TaskLoggingHelper^ Log,
UpToDateCheckType upToDateCheckType,
FlatTrackingData^ inputs,
FlatTrackingData^ outputs
)
static member IsUpToDate :
Log:TaskLoggingHelper *
upToDateCheckType:UpToDateCheckType *
inputs:FlatTrackingData *
outputs:FlatTrackingData -> bool
public static function IsUpToDate(
Log : TaskLoggingHelper,
upToDateCheckType : UpToDateCheckType,
inputs : FlatTrackingData,
outputs : FlatTrackingData
) : boolean
Parameters
Log
Type: Microsoft.Build.Utilities.TaskLoggingHelperTaskLoggingHelper from the host task
upToDateCheckType
Type: Microsoft.Build.Utilities.UpToDateCheckTypeUpToDateCheckType to use
inputs
Type: Microsoft.Build.Utilities.FlatTrackingDataFlatTrackingData structure containing the inputs
outputs
Type: Microsoft.Build.Utilities.FlatTrackingDataFlatTrackingData structure containing the outputs
Return Value
Type: System.Boolean
Returns true if everything is up to date; false otherwise.
Remarks
No tracking log compaction will take place when using this overload
.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.