IHtmlTrLoadBalancer.LauncherTaskCompleted, méthode (Microsoft.HtmlTrans)

Windows SharePoint Services 3
Notifies the load balancer component that the server has completed the specified document conversion task.

Espace de noms : Microsoft.HtmlTrans
Assembly : Microsoft.HtmlTrans.Interface (dans microsoft.htmltrans.interface.dll)

bool LauncherTaskCompleted (
	string strLauncherUri,
	string strTaskName



The name of the server that has completed the document conversion task.


The name of the document conversion task previously passed in the call to theStrGetLauncher method.

Valeur retournée

Boolean Returns true for success, false for failure.

The LauncherTaskCompleted method notifies the load balancer that the specified server has completed the specified document conversion task. The load balancer uses the task name previously passed in the call to the StrGetLauncher method to keep track of the load on a particular launcher and to determine which server name the StrGetLauncher method will return on the next invocation. Calling the LauncherTaskCompleted method when a particular task has finished on the launcher lets the load balancer know that the load on that launcher has decreased and allows the launcher service to reuse the task name (in case another user requests the same document).

For a code example that demonstrates the use of the IHtmlTrLoadBalancer and IHtmlTrLauncher interfaces, including the LauncherTaskCompleted method, see the CHICreateHtml method.