HttpApplicationStateBase.Lock 方法

定义

当在派生类中重写时,锁定对集合中对象的访问,以启用同步访问。When overridden in a derived class, locks access to objects in the collection in order to enable synchronized access.

public:
 virtual void Lock();
public virtual void Lock ();
abstract member Lock : unit -> unit
override this.Lock : unit -> unit
Public Overridable Sub Lock ()

异常

始终。Always.

适用于