Notifies the load balancer component that the server has completed the specified document conversion task.
Assembly: Microsoft.HtmlTrans.Interface (in Microsoft.HtmlTrans.Interface.dll)
Function LauncherTaskCompleted ( _ strLauncherUri As String, _ strTaskName As String _ ) As Boolean Dim instance As IHtmlTrLoadBalancer Dim strLauncherUri As String Dim strTaskName As String Dim returnValue As Boolean returnValue = instance.LauncherTaskCompleted(strLauncherUri, _ strTaskName)
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.
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.