Share via


TaskLoggingHelper Constructors

Definition

Initializes a new instance of the TaskLoggingHelper class.

Overloads

TaskLoggingHelper(ITask)

public constructor

TaskLoggingHelper(IBuildEngine, String)

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

TaskLoggingHelper(ITask)

Source:
TaskLoggingHelper.cs
Source:
TaskLoggingHelper.cs

public constructor

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

task containing an instance of this class

Applies to

TaskLoggingHelper(IBuildEngine, String)

Source:
TaskLoggingHelper.cs
Source:
TaskLoggingHelper.cs

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