CSharpTest.Net
MutexLock Constructor(Int32,Mutex)
See Also  Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Synchronization Namespace > MutexLock Class > MutexLock Constructor : MutexLock Constructor(Int32,Mutex)

timeout
mutex

Glossary Item Box

Locks the provided mutex or throws TimeoutException

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal timeout As Integer, _
   ByVal mutex As Mutex _
)
C# 
public MutexLock( 
   int timeout,
   Mutex mutex
)

Parameters

timeout
mutex

Exceptions

ExceptionDescription
System.TimeoutException Raises System.TimeoutException if mutex was not obtained.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys