Summary
This method is called after the command has been executed. You can use this to
clean up after the command execution (like removing temporary files), and to
react to the exit code from the command line client. If the exit code is
considered a failure, this method should throw the correct exception.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
- Containing Type
- ICommand
Syntax
void After(int exitCode, string standardOutput, string standardErrorOutput)
Remarks
Also note that if the command exit code is considered a success, this method
should parse the output and prepare any results based on it.
Parameters
Name | Type | Description |
---|---|---|
exitCode | int | The exit code from the command line client. Typically 0 means success, but this can vary from command to command. |
standardOutput | string |
The standard output of the execution, or System.String.Empty if there
was none.
|
standardErrorOutput | string |
The standard error output of the execution, or System.String.Empty if
there was none.
|
Return Value
Type | Description |
---|---|
void |