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.
Namespace: SolaceSystems.Solclient.MessagingAssembly: SolaceSystems.Solclient.Messaging (in SolaceSystems.Solclient.Messaging.dll) Version: 10.27.0
IMessage GetNext(
int timeout
)
- timeout Int32
IMessageReturns next available IMessage given the specified timeout
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.
|