Perforce API for the .Net CLR P4.Net

P4Connection.RunCallback Method 

Runs the specified command, calling the appropriate callback methods as Perforce returns information.

[Visual Basic]
Public Sub RunCallback( _
   ByVal Callback As P4Callback, _
   ByVal Command As String, _
   ParamArray Args As String() _
)
[C#]
public void RunCallback(
   P4Callback Callback,
   string Command,
   params string[] Args
);

Parameters

Callback
A callback instance to recieve information as the command is run.
Command
The Perforce command to run.
Args
Arguments to the Perforce command

See Also

P4Connection Class | P4API Namespace