IHtmlTrLoadBalancer.RegisterLauncher Method

Notifies the load balancer component that a server hosting the launcher component is ready to begin handling document conversion requests.

Namespace:  Microsoft.HtmlTrans
Assembly:  Microsoft.HtmlTrans.Interface (in Microsoft.HtmlTrans.Interface.dll)

Syntax

Function RegisterLauncher ( _
    strLauncherUri As String _
) As Boolean

Dim instance As IHtmlTrLoadBalancer
Dim strLauncherUri As String
Dim returnValue As Boolean

returnValue = instance.RegisterLauncher(strLauncherUri)
bool RegisterLauncher(
    string strLauncherUri
)

Parameters

  • strLauncherUri
    Type: System.String
    A Uniform Resource Identifier (URI) that identifies the server hosting the launcher.

Return Value

Type: System.Boolean
Boolean Returns true for success; false for failure.

Remarks

When a server hosting a launcher starts the launcher service, the server needs to call the RegisterLauncher method to indicate to the load balancer that it is ready to begin handling document conversion requests, and that it should be included as a possible return from calls to the StrGetLauncher method.

See Also

Reference

IHtmlTrLoadBalancer Interface

IHtmlTrLoadBalancer Members

Microsoft.HtmlTrans Namespace