CompilationUnit.EnterUpgradeableReadLock Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enters an upgradeable read-lock, provided none of the dependent locks is set, or a suitable compilation lock is aready held.
public void EnterUpgradeableReadLock ();
member this.EnterUpgradeableReadLock : unit -> unit
Public Sub EnterUpgradeableReadLock ()
Exceptions
Any of the dependent locks is set, but the SyncRoot is not at least read-lock-held.