NamedMapTKey, TValueTryRemove Method (TKey)

ScaleOut Software NamedCache API

Namespace:  Soss.Client.Concurrent
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.1.0.0
Syntax

public bool TryRemove(
	TKey key
)

Parameters

key
Type: TKey
The key of the element to remove and return.

Return Value

Type: Boolean
true if an object was removed successfully, otherwise it returns false.
Exceptions

ExceptionCondition
ArgumentNullExceptionThrown if key is a null reference.
TimeoutExceptionThrown when the maximum number of internal retries reached.
See Also

Reference