Collapse All Expand All

.NET Framework Class Library
QueueBrowser Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Get the current message in the browser

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public Object Current { get; }

    Public ReadOnly Property Current As Object

    public:
    virtual property Object^ Current {
    	Object^ get () sealed;
    }

#### Field Value

The current message.

#### Implements

IEnumerator..::.Current

# Remarks

This property presents the current message in the browser’s enumeration, but accessing the property does not consume that message.

The MoveNext()()() method advances the current message.

This property can be queried repeatly and the same message will be returned.

# Exceptions

Exception | Condition
--- | ---
System..::.InvalidOperationException | If queue browser is closed or failure to get the current message, or message is null.

# See Also

QueueBrowser Class
TIBCO.EMS Namespace