Export (0) Print
Expand All

XamlTaskFactory.CleanupTask Method

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

Namespace:  Microsoft.Build.Tasks
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

public void CleanupTask(
	ITask task
)

Parameters

task
Type: Microsoft.Build.Framework.ITask

The task to clean up.

Implements

ITaskFactory.CleanupTask(ITask)

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

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft