GuiClient.

BeginExecute(Repository, IGuiCommand, AsyncCallback) Method

Summary

Executes the given IGuiCommand command against the Mercurial repository, asynchronously.
Assembly
Mercurial.Net.dll
Namespace
Mercurial.Gui
Containing Type
GuiClient

Syntax

public static IAsyncResult BeginExecute(this Repository repository, IGuiCommand command, AsyncCallback callback)

Parameters

Name Type Description
repository Repository The Repository to execute the command in.
command IGuiCommand The IGuiCommand command to execute.
callback AsyncCallback A callback to call when the execution has completed. The System.IAsyncResult.AsyncState value of the IAsyncResult object passed to the callback will be the command object.

Return Value

Type Description
IAsyncResult A IAsyncResult object to hold on to until the asynchronous execution has completed, and then pass to EndExecute(Repository, IAsyncResult).