Parameters
- name
Library/Library.Test/LockingTests/TestMutexLock.cs
C# | Copy Code |
---|---|
using (new MutexLock("MutexLock.TestMutexLockByName")) { Assert.IsFalse(CanLock(new Mutex(false, "MutexLock.TestMutexLockByName"))); } |
VB.NET | Copy Code |
---|---|
Using New MutexLock("MutexLock.TestMutexLockByName") Assert.IsFalse(CanLock(New Mutex(False, "MutexLock.TestMutexLockByName"))) End Using |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
Reference
MutexLock ClassMutexLock Members
Overload List