﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ITask" FullName="Microsoft.Build.Framework.ITask"><TypeSignature Language="C#" Value="public interface ITask" /><AssemblyInfo><AssemblyName>Microsoft.Build.Framework</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Interfaces /><Docs><since version="2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>All task classes must implement this interface to be recognized by the build engine. Instead of implenting this interface directly, you can also derive your class from the helper class, <see cref="T:Microsoft.Build.Utilities.Task" />, which provides default implementations of some <see cref="T:Microsoft.Build.Framework.ITask" /> members.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Defines a task, which is a unit of executable code used by vstecmsbuild to perform build operations.</para></summary></Docs><Members><Member MemberName="BuildEngine"><MemberSignature Language="C#" Value="public Microsoft.Build.Framework.IBuildEngine BuildEngine { set; get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>Microsoft.Build.Framework.IBuildEngine</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><since version="2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the build engine associated with the task.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Execute"><MemberSignature Language="C#" Value="public bool Execute ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters /><Docs><since version="2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This method is called by the build engine to execute a task. Upon termination of this method, a task should indicate if the execution was successful. If a task throws an exception from this method, the engine assumes that the task has failed.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Executes a task.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the task executed successfully; otherwise, false.</para></returns></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="HostObject"><MemberSignature Language="C#" Value="public Microsoft.Build.Framework.ITaskHost HostObject { set; get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>Microsoft.Build.Framework.ITaskHost</ReturnType></ReturnValue><Docs><value>To be added.</value><since version="2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>This property can be a null reference (Nothing in vbprvb).</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets any host object that is associated with the task.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>