10.26.0

IBrowserGetNext(Int32) Method

If there is at least one message available in the Browser’s local message buffer, return it immediately. Otherwise wait up to WaitTimeout(as specified in BrowserProperties) until one is available. - If timeout is < 0, return immediately if there are no messages available locally - If timeout is equal to 0, wait forever. This blocks the calling thread; to unblock it, call Dispose.

Definition

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.26.0
C#
IMessage GetNext(
	int timeout
)

Parameters

timeout  Int32

Return Value

IMessage
Returns next available IMessage given the specified timeout

Exceptions

ObjectDisposedException Thrown when the Browser is already disposed (terminal state).
FatalErrorException Thrown when an unrecoverable error occurs.
OperationErrorException Thrown when the underlying browser encountered an error. Note: The ErroInfo property in OperationErrorException will have a specific SubCode indicating what error case the Browser encountered.

See Also