Compartir a través de


FlatTrackingData.FinalizeTLogs Method

Compact and finalize the Tlogs based on the success of the tracked execution.

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 Sub FinalizeTLogs ( _
    trackedOperationsSucceeded As Boolean, _
    readTLogNames As ITaskItem(), _
    writeTLogNames As ITaskItem(), _
    trackedFilesToRemoveFromTLogs As ITaskItem() _
)
public static void FinalizeTLogs(
    bool trackedOperationsSucceeded,
    ITaskItem[] readTLogNames,
    ITaskItem[] writeTLogNames,
    ITaskItem[] trackedFilesToRemoveFromTLogs
)
public:
static void FinalizeTLogs(
    bool trackedOperationsSucceeded, 
    array<ITaskItem^>^ readTLogNames, 
    array<ITaskItem^>^ writeTLogNames, 
    array<ITaskItem^>^ trackedFilesToRemoveFromTLogs
)
static member FinalizeTLogs : 
        trackedOperationsSucceeded:bool * 
        readTLogNames:ITaskItem[] * 
        writeTLogNames:ITaskItem[] * 
        trackedFilesToRemoveFromTLogs:ITaskItem[] -> unit
public static function FinalizeTLogs(
    trackedOperationsSucceeded : boolean, 
    readTLogNames : ITaskItem[], 
    writeTLogNames : ITaskItem[], 
    trackedFilesToRemoveFromTLogs : ITaskItem[]
)

Parameters

  • trackedOperationsSucceeded
    Type: System.Boolean

    True indicates that tracked operations succeeded.

Remarks

Once tracked operations have been completed then we need to compact / finalize the Tlogs based on the success of the tracked execution. If it fails, then we clean out the TLogs. If it succeeds then we clean temporary files from the TLogs and re-write them.

.NET Framework Security

See Also

Reference

FlatTrackingData Class

Microsoft.Build.Utilities Namespace