IBrowser.GetNext Method (Int32)

Solclient

IBrowserGetNext Method (Int32)
version: 7.2.1.27
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.

Namespace: SolaceSystems.Solclient.Messaging
Assembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 7.2.1.27 (7.2.1.27)
Syntax
IMessage GetNext(
	int timeout
)
Function GetNext ( 
	timeout As Integer
) As IMessage
IMessage^ GetNext(
	int timeout
)

Parameters

timeout
Type: SystemInt32

Return Value

Type: IMessage
Returns next available IMessage given the specified timeout
Exceptions
ExceptionCondition
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