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

timeout
name

Glossary Item Box

Creates and locks the named mutex or throws TimeoutException

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal timeout As Integer, _
   ByVal name As String _
)
C# 
public MutexLock( 
   int timeout,
   string name
)

Parameters

timeout
name

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