SortedPointBufferTKey, TValueTryEnqueue Method

Attempts to enqueue the provided item to the list.

Definition

Namespace: SnapDB.Snap.Collection
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public bool TryEnqueue(
	TKey key,
	TValue value
)

Parameters

key  TKey
The key to add.
value  TValue
The value to add.

Return Value

Boolean
true if the item was successfully enqueued; false if the queue is full.

Exceptions

InvalidOperationExceptionOccurs if IsReadingMode is set to true

See Also