Click or drag to resize

ServerChannelSendRequest Method (String, Object, ReplyHandler)

Sends a request message to a destination and then calls handler when the asynchronous reply is received.

Namespace:  OBCOM.NetSwitchLib.Servers
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public void SendRequest(
	string destination,
	Object data,
	ReplyHandler handler
)

Parameters

destination
Type: SystemString
The destination of the request message.
data
Type: SystemObject
The data to include in the request message (can be null).
handler
Type: OBCOM.NetSwitchLib.ServersReplyHandler
The handler called with the asynchronous reply message.
Exceptions
ExceptionCondition
ArgumentNullException An argument is null.
See Also