Parameters
- monitor
Library/Library.Test/LockingTests/TestLockingStructs.cs
| C# | Copy Code |
|---|---|
object instance = new object(); using (new SafeLock(instance)) { } | |
| VB.NET | Copy Code |
|---|---|
Dim instance As New Object() Using New SafeLock(instance) End Using | |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
Reference
SafeLock StructureSafeLock Members
Overload List