System.Web.HttpStaticObjectsCollection.SyncRoot Property

Gets an object that can be used to synchronize access to the collection.

Syntax

public object SyncRoot { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Program code should generally perform synchronized operations on the HttpStaticObjectsCollection.SyncRoot of a collection, not directly on the collection itself. This ensures proper operation of collections that are derived from other objects. Specifically, it maintains proper synchronization with other threads that might be simultaneously modifying the collection object.

The object returned in this implementation is the System.Web.HttpStaticObjectsCollection itself.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0