ConcurrentDictionary(TKey, TValue) Class
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
The thread safe implementation of dictionary operations.
Namespace: Microsoft.Dynamics.Commerce.Runtime.Data
Assembly: Microsoft.Dynamics.Commerce.Runtime.Framework (in Microsoft.Dynamics.Commerce.Runtime.Framework.dll)
Syntax
'Declaration
Public NotInheritable Class ConcurrentDictionary(Of TKey, TValue) _
Implements IDictionary(Of TKey, TValue), ICollection(Of KeyValuePair(Of TKey, TValue)), _
IEnumerable(Of KeyValuePair(Of TKey, TValue)), IEnumerable
'Usage
Dim instance As ConcurrentDictionary(Of TKey, TValue)
public sealed class ConcurrentDictionary<TKey, TValue> : IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>,
IEnumerable
generic<typename TKey, typename TValue>
public ref class ConcurrentDictionary sealed : IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>,
IEnumerable
Type Parameters
- TKey
- TValue
Inheritance Hierarchy
System.Object
Microsoft.Dynamics.Commerce.Runtime.Data.ConcurrentDictionary<TKey, TValue>
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.