TaskLogger Constructor
See Also 
SourceCode.DeploymentTasks Namespace > TaskLogger Class : TaskLogger Constructor



taskInstance
The task instance.

Glossary Item Box

Initializes a new instance of the TaskLogger class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal taskInstance As Task _
)
Visual Basic (Usage)Copy Code
Dim taskInstance As Task
 
Dim instance As New TaskLogger(taskInstance)
C# 
public TaskLogger( 
   Task taskInstance
)
C++/CLI 
public:
TaskLogger( 
   Task^ taskInstance
)

Parameters

taskInstance
The task instance.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also