IHttpSessionState::SyncRoot Property

 

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

Namespace:   System.Web.SessionState
Assembly:  System.Web (in System.Web.dll)

property Object^ SyncRoot {
	Object^ get();
}

Property Value

Type: System::Object^

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

The following code example implements the SyncRoot property to return a copy of the current object that implements the IHttpSessionState interface.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: