IQueueTElement Method Hazelcast .Net Client Class Library
Retrieves, but does not remove, the head of this queue. This method differs from Peek only in that it throws an exception if this queue is empty.

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.0.1
Syntax

T Element()

Return Value

Type: T
the head of this queue
See Also

Reference