TaskLoggingHelper Constructors

Definition

Initializes a new instance of the TaskLoggingHelper class.

Overloads

TaskLoggingHelper(ITask)

Initializes a new instance of the TaskLoggingHelper class and associates it with the specified task instance.

TaskLoggingHelper(IBuildEngine, String)

Public constructor which can be used by task factories to assist them in logging messages.

TaskLoggingHelper(ITask)

Initializes a new instance of the TaskLoggingHelper class and associates it with the specified task instance.

public:
 TaskLoggingHelper(Microsoft::Build::Framework::ITask ^ taskInstance);
public TaskLoggingHelper (Microsoft.Build.Framework.ITask taskInstance);
new Microsoft.Build.Utilities.TaskLoggingHelper : Microsoft.Build.Framework.ITask -> Microsoft.Build.Utilities.TaskLoggingHelper
Public Sub New (taskInstance As ITask)

Parameters

taskInstance
ITask

The task containing an instance of this task.

TaskLoggingHelper(IBuildEngine, String)

Public constructor which can be used by task factories to assist them in logging messages.

public:
 TaskLoggingHelper(Microsoft::Build::Framework::IBuildEngine ^ buildEngine, System::String ^ taskName);
public TaskLoggingHelper (Microsoft.Build.Framework.IBuildEngine buildEngine, string taskName);
new Microsoft.Build.Utilities.TaskLoggingHelper : Microsoft.Build.Framework.IBuildEngine * string -> Microsoft.Build.Utilities.TaskLoggingHelper
Public Sub New (buildEngine As IBuildEngine, taskName As String)

Parameters

buildEngine
IBuildEngine

The build engine.

taskName
String

The task name.

Applies to