| ServerChannelSendRequest Method (String, Object, Int32) |
Sends a request message to a destination and then
blocks waiting for the reply until timeout.
Namespace:
OBCOM.NetSwitchLib.Servers
Assembly:
OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax public Message SendRequest(
string destination,
Object data,
int timeout
)
Public Function SendRequest (
destination As String,
data As Object,
timeout As Integer
) As Message
Parameters
- destination
- Type: SystemString
The request destination switch:server.service.
- data
- Type: SystemObject
The data to include in the request message (can be null).
- timeout
- Type: SystemInt32
The maximum time to wait for a reply (in milliseconds).
Return Value
Type:
Message
The reply message returned from the NetSwitch server.
Exceptions See Also