TaskLoggingHelperExtension Constructor (ITask, ResourceManager, ResourceManager, String)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the TaskLoggingHelperExtension class with the task instance, primary resources, shared resources, and a Help keyword prefix.

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 TaskLoggingHelperExtension(
	ITask taskInstance,
	ResourceManager primaryResources,
	ResourceManager sharedResources,
	string helpKeywordPrefix
)

Parameters

taskInstance
Type: Microsoft.Build.Framework.ITask

A task containing an instance of the TaskLoggingHelperExtension class.

primaryResources
Type: System.Resources.ResourceManager

UI and string resources.

sharedResources
Type: System.Resources.ResourceManager

Shared UI and string resources.

helpKeywordPrefix
Type: System.String

The prefix for composing Help keywords.

Return to top
Show: