共用方式為


ICommandExecuter.OnError(ErrorAction) Method

Definition

Defines the action to take on error.

public:
 ManagedBatchParser::ParserAction OnError(ManagedBatchParser::ErrorAction ea);
public ManagedBatchParser.ParserAction OnError (ManagedBatchParser.ErrorAction ea);
abstract member OnError : ManagedBatchParser.ErrorAction -> ManagedBatchParser.ParserAction
Public Function OnError (ea As ErrorAction) As ParserAction

Parameters

ea
ErrorAction

The error action.

Returns

The parser action, either Abort or Continue.

Applies to