Click or drag to resize

RequestEventSendSubRequest Method (String, Object, Int32)

Sends a subrequest message to a destination and then blocks forever waiting 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 SendSubRequest(
	string destination,
	Object data,
	int timeout
)

Parameters

destination
Type: SystemString
The destination of the subrequest message.
data
Type: SystemObject
The data to include in the subrequest 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 destination.
Exceptions
ExceptionCondition
ArgumentNullExceptiondestination is null or empty.
ArgumentOutOfRangeExceptiontimeout is negative.
TimeoutException If timeout expired while waiting for reply message.
See Also