Click or drag to resize

ClientChannelSendRequest Method (String, Object)

Sends a request message to a destination and then blocks forever waiting for the reply message.

Namespace:  OBCOM.NetSwitchLib.Clients
Assembly:  OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntax
public Message SendRequest(
	string destination,
	Object data
)

Parameters

destination
Type: SystemString
The request destination switch:server.service.
data
Type: SystemObject
The data to include in the request message (can be null).

Return Value

Type: Message
The reply message returned from the NetSwitch server.
Exceptions
ExceptionCondition
ArgumentNullExceptiondestination is null or empty.
Exception An error occured while sending the request.
See Also