Méthode | Description | |
---|---|---|
TerminateHookAndCancelCommand ( ) : void |
Terminates the hook and cancels the Mercurial command being executed, with an exit code of 1 and no message.
|
|
TerminateHookAndCancelCommand ( int exitCode ) : void |
Terminates the hook and cancels the Mercurial command being executed, with the specified exit code and no message.
|
|
TerminateHookAndCancelCommand ( int exitCode, string message ) : void |
Terminates the hook and cancels the Mercurial command being executed.
|
|
TerminateHookAndProceed ( ) : void |
Terminates the hook program and allows the Mercurial command being hooked to proceed as normal.
|
public TerminateHookAndCancelCommand ( ) : void | ||
Résultat | void |
public TerminateHookAndCancelCommand ( int exitCode ) : void | ||
exitCode | int | /// The exit code to pass back to Mercurial, must be or higher to signal failure. Default is 1. /// |
Résultat | void |
public TerminateHookAndCancelCommand ( int exitCode, string message ) : void | ||
exitCode | int | /// The exit code to pass back to Mercurial, must be or higher to signal failure. Default is 1. /// |
message | string | /// A message to output to the Mercurial console log; or an empty string if no such message is needed. /// |
Résultat | void |