This documentation is archived and is not being maintained.

HttpSessionState.SyncRoot Property

Gets an object that can be used to synchronize access to the collection of session-state values.

[Visual Basic]
Public Overridable ReadOnly Property SyncRoot As Object  Implements _
   ICollection.SyncRoot
[C#]
public virtual object SyncRoot {get;}
[C++]
public: __property virtual Object* get_SyncRoot();
[JScript]
public function get SyncRoot() : Object;

Property Value

An object that can be used to synchronize access to the collection.

Implements

ICollection.SyncRoot

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpSessionState Class | HttpSessionState Members | System.Web.SessionState Namespace

Show: