Request

Response

    IInteropBridge.InitializeAsync method

    Initializes the UI Bridge without launching the Connector UI process. This method prepares the Connector SDK for communication with the Connector UI process by starting the listening server. This method must be called before any other operations on the UI Bridge.

    public Task InitializeAsync()
    

    Return Value

    A task that completes when initialization has finished successfully.

    Exceptions

    exceptioncondition
    Exception Thrown when initialization fails. The exception message provides details about the failure reason.
    InvalidOperationException Thrown when this method is called more than once, after the UI Bridge has already been initialized.

    Remarks

    This asynchronous method does not block the calling thread. It is essential to await the returned task to completion before invoking other methods on the UI Bridge to ensure that initialization has been fully completed.

    See Also