ITask.HostObject Property

Gets or sets any host object that is associated with the task.

Namespace:  Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

'Declaration
Property HostObject As ITaskHost

Property Value

Type: Microsoft.Build.Framework.ITaskHost
The host object associated with the task.

This property can be a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft