SynchronizedCollection<'T>.ICollection.SyncRoot Property

 

Gets the object used to synchronize access to the thread-safe collection.

Namespace:   System.Collections.Generic
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

private abstract SyncRoot : Object with get
private override SyncRoot : Object with get

Property Value

Type: System.Object

An object used to synchronize access to the thread-safe collection.

The value of this syncRoot object can be set when creating the thread-safe collection using the SynchronizedCollection<'T>(Object) constructor.

.NET Framework
Available since 3.0
Return to top
Show: