HttpApplicationStateBase.SyncRoot 属性

定义

当在派生类中重写时,获取可用于同步对集合的访问的对象。When overridden in a derived class, gets an object that can be used to synchronize access to the collection.

public:
 virtual property System::Object ^ SyncRoot { System::Object ^ get(); };
public virtual object SyncRoot { get; }
member this.SyncRoot : obj
Public Overridable ReadOnly Property SyncRoot As Object

属性值

Object

用于同步对集合的访问的对象。An object that can be used to synchronize access to the collection.

实现

例外

始终。Always.

适用于