CommandBase<T>.

After(int, string, string) Method

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
CommandBase<T>

Syntax

public void After(int exitCode, string standardOutput, string standardErrorOutput)

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