ToolTask.ExitCode ToolTask.ExitCode ToolTask.ExitCode ToolTask.ExitCode Property

Definition

Gets the returned exit code of the executable file.

public:
 property int ExitCode { int get(); };
[Microsoft.Build.Framework.Output]
public int ExitCode { get; }
member this.ExitCode : int
Public ReadOnly Property ExitCode As Integer

Property Value

The returned exit code of the executable file. If the task logged errors, but the executable returned an exit code of 0, this method returns -1.

Applies to