Perforce API for the .Net CLR P4.Net

P4Callback.Cancel Method 

Allows consumers to cancel the current command.

[Visual Basic]
Overridable Public Function Cancel() As Boolean
[C#]
public virtual bool Cancel();

Return Value

Return true to kill the current command.

Remarks

The cancel method is called periodically during long-running commands. You can't always guarantee when it will be called, or how quickly it will cancel the command.

See Also

P4Callback Class | P4API Namespace