IQueueTOffer Method (T)Hazelcast .Net Client Class Library
Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions, returning true upon success and false if no space is currently available.

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

bool Offer(
	T e
)

Parameters

e
Type: T
the element to add

Return Value

Type: Boolean
true if the element was added to this queue, else false
Remarks

Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions, returning true upon success and false if no space is currently available.
See Also

Reference