LogicalChannelSendRequest Method (String, Object, Int32) |
Namespace: OBCOM.NetSwitchLib.Clients
Exception | Condition |
---|---|
ArgumentNullException | destination is null or empty. |
ArgumentOutOfRangeException | timeout is negative. |
InvalidOperationException | The logical channel is closed. |
The value of destination must have the following format:
[SwitchName:]ServerName[.ServiceName]
where optional items are shown within "[" and "]" brackets, and the characters ":" and "." stand for themselves.
If the optional SwitchName is not specified, the message is sent to the connected NetSwitch server.
ServerName is the name of a server, either Listener or a Connector.
The optional ServiceName is the name of a service provided by the server, or the name of a channel of a listener. The following are examples of valid destinations:
POS_DEVICE SWITCH.LOG_ERROR HUB:IMSER.ADD_CONTACT
Argument timeout specifies the amount of time to wait for the synchronous reply message.