[TIBCO.EMS.UFOCLIENT .NET client library 5.1 documentation]
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)
set the server url.
Namespace:
TIBCO.EMS.UFOAssembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)
Syntax
public void SetServerUrl( string serverUrl ) |
Public Sub SetServerUrl ( _ serverUrl As String _ ) |
public: void SetServerUrl( String^ serverUrl ) |
Parameters
- serverUrl
- Type: System..::.String
The constructor contacts the EMS server at this URL, to access a factory. If connecting a fault-tolerant client, specify two or more comma-separated URLs, as described below inReconnect and Fault Tolerance.
Remarks
The server URL is of the form:
protocol://hostName:portNumber | |
For example:
tcp://localhost:7222 | |
The server URL for a fault-tolerant configuration is a string with multiple URL's that are comma separated.
For example:
tcp://localhost:7222,tcp://localhost:7224 | |
Exceptions
| Exception | Condition |
|---|---|
| EMSException | Url is already set or some other error. |