共用方式為


ICommandExecuter.Error(OutputDestination, String) Method

Definition

Defines the output on error.

public:
 ManagedBatchParser::ParserAction Error(ManagedBatchParser::OutputDestination od, System::String ^ fileName);
public ManagedBatchParser.ParserAction Error (ManagedBatchParser.OutputDestination od, string fileName);
abstract member Error : ManagedBatchParser.OutputDestination * string -> ManagedBatchParser.ParserAction
Public Function Error (od As OutputDestination, fileName As String) As ParserAction

Parameters

od
OutputDestination

The output destination.

fileName
String

The file name.

Returns

The parser action, either Abort or Continue.

Applies to