CleanupTask Method
Collapse the table of content
Expand the table of content

XamlTaskFactory.CleanupTask Method (ITask)

 

Cleans up any context or state that may have been built up for a given task.

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.Tasks
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

public void CleanupTask(
	ITask task
)

Parameters

task
Type: Microsoft.Build.Framework.ITask

The task to clean up.

Some factories may create an AppDomain as part of an individual task instance. Such factories use this method to shutdown the AppDomain.

Return to top
Show:
© 2016 Microsoft