Request

Response

    IInteropBridge.LaunchConnectorUiAsync method

    Launches the Connector UI process and displays the Connector UI. This method can only be called after InitializeAsync has completed successfully.

    public Task LaunchConnectorUiAsync()
    

    Return Value

    A task that completes when the launch attempt has finished.

    Exceptions

    exceptioncondition
    InvalidOperationException Thrown when the interop bridge has not been initialized.

    Remarks

    This asynchronous method does not block the calling thread. It is essential to await the returned task to ensure the Connector UI process has launched completely before invoking other methods on the interop bridge. The UI executable launch is best-effort: if the process fails to start, this method may still complete without throwing. Verify ClientConnected or UiWindowHandle after awaiting.

    See Also