次の方法で共有


ToolTask.HandleTaskExecutionErrors Method

Definition

Allows tool to handle the return code. This method will only be called with non-zero exitCode.

protected:
 virtual bool HandleTaskExecutionErrors();
protected virtual bool HandleTaskExecutionErrors ();
abstract member HandleTaskExecutionErrors : unit -> bool
override this.HandleTaskExecutionErrors : unit -> bool
Protected Overridable Function HandleTaskExecutionErrors () As Boolean

Returns

The return value of this method will be used as the task return value

Remarks

This method is called only if the executable file returns a non-zero exit code.

The return value of this method is used as the return value of the task.

Applies to