AppDomainIsolatedTask.HostObject Property

Definition

The build engine sets this property if the host IDE has associated a host object with this particular task.

C#
public Microsoft.Build.Framework.ITaskHost HostObject { get; set; }
C#
public Microsoft.Build.Framework.ITaskHost HostObject { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }

Property Value

The host object instance (can be null).

Implements

Attributes

Remarks

The build engine sets this property if the host IDE has associated a host object with this particular task.

Applies to

製品 バージョン
MSBuild 15, 16, 17
MSBuild (.NET Core) 17