NAnt SDK Documentation - v0.92 |

# EchoTask Properties

The properties of the EchoTask class are listed below. For a complete list of EchoTask class members, see the EchoTask Members topic.

#### Public Instance Properties

Append | Determines whether the EchoTask should append to the file, or overwrite it. By default, the file will be overwritten.
Contents | Gets or sets the inline content that should be output.
Encoding | The encoding to use when writing message to a file. The default is UTF-8 encoding without a Byte Order Mark (BOM).
FailOnError (inherited from Task) | Determines if task failure stops the build, or is just reported. The default is true.
File | The file to write the message to.
IfDefined (inherited from Task) | If true then the task will be executed; otherwise, skipped. The default is true.
LogPrefix (inherited from Task) | Obsolete. The prefix used when sending messages to the log.
Message | The message to output.
MessageLevel | The logging level with which the message should be output. The default is Info.
Name (inherited from Task) | The name of the task.
NamespaceManager (inherited from Element) | Gets or sets the XmlNamespaceManager.
Parent (inherited from Element) | Gets or sets the parent of the element.
Project (inherited from Element) | Gets or sets the Project to which this element belongs.
Properties (inherited from Element) | Gets the properties local to this Element and the Project.
Threshold (inherited from Task) | Gets or sets the log threshold for this Task. By default the threshold of a task is Debug, causing no messages to be filtered in the task itself.
UnlessDefined (inherited from Task) | Opposite of IfDefined. If false then the task will be executed; otherwise, skipped. The default is false.
Verbose (inherited from Task) | Determines whether the task should report detailed build log messages. The default is false.

#### Protected Instance Properties

CustomXmlProcessing (inherited from Element) | Gets a value indicating whether the element is performing additional processing using the XmlNode that was used to initialize the element.
Location (inherited from Element) | Gets or sets the location in the build file where the element is defined.
XmlNode (inherited from Element) | Gets or sets the XML node of the element.

#### See Also

EchoTask Class | NAnt.Core.Tasks Namespace