Interface IUpdateServiceConnection
Namespace: LemonEdge.API.Client.CommonUI
Assembly: LemonEdge.API.dll
Syntax
public interface IUpdateServiceConnection
Properties
CurrentServiceConnection
The current connection settings
Declaration
string CurrentServiceConnection { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Reconnect()
Reconnects to the current service connection, validating the model again
Declaration
Task Reconnect()
Returns
| Type | Description |
|---|---|
| Task | A task indicating the completion of the operation |
UpdateServiceConnection(string, bool)
Indicates we should use the specified connection url for connecting to a web service
This takes time to complete as the system verifies the webs service, and downloads the model of the webservice it is connecting to (as LemonEdge services can have different models depending on the addins)
Declaration
Task UpdateServiceConnection(string connection, bool force = false)
Parameters
| Type | Name | Description |
|---|---|---|
| string | connection | A valid url connection to a LemonEdge web service |
| bool | force | Whether to force a refresh of an existing connection. |
Returns
| Type | Description |
|---|---|
| Task | A task indicating the completion of the operation |