The properties of the ScriptTask class are listed below. For a complete list of ScriptTask class members, see the ScriptTask Members topic.
![]() | The code to execute. |
![]() | Determines if task failure stops the build, or is just reported. The default is true. |
![]() | If true then the task will be executed; otherwise, skipped. The default is true. |
![]() | The namespaces to import. |
![]() | The language of the script block. Possible values are "VB", "vb", "VISUALBASIC", "C#", "c#", "CSHARP". "JS", "js", "JSCRIPT" "VJS", "vjs", "JSHARP" or a fully-qualified name for a class implementing CodeDomProvider. |
![]() | Obsolete. The prefix used when sending messages to the log. |
![]() | The name of the main class containing the static ScriptMain entry point. |
![]() | The name of the task. |
![]() | Gets or sets the XmlNamespaceManager. |
![]() | Gets or sets the parent of the element. |
![]() | The namespace prefix for any custom functions defined in the script. If ommitted the prefix will default to 'script' |
![]() | Gets or sets the Project to which this element belongs. |
![]() | Gets the properties local to this Element and the Project. |
![]() | Any required references. |
![]() | 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. |
![]() | Opposite of IfDefined. If false then the task will be executed; otherwise, skipped. The default is false. |
![]() | Determines whether the task should report detailed build log messages. The default is false. |
![]() | Gets a value indicating whether the element is performing additional processing using the XmlNode that was used to initialize the element. |
![]() | Gets or sets the location in the build file where the element is defined. |
![]() | Gets or sets the XML node of the element. |
ScriptTask Class | NAnt.DotNet.Tasks Namespace