C# Class Paralect.ServiceBus.MutexFactory

显示文件 Open project: paralect/Paralect.ServiceBus Class Usage Examples

Public Methods

Method Description
CreateMutexWithFullControlRights ( String name, System.Boolean &createdNew ) : Mutex
LockByMutex ( String name, System.Action action ) : void

Method Details

CreateMutexWithFullControlRights() public static method

public static CreateMutexWithFullControlRights ( String name, System.Boolean &createdNew ) : Mutex
name String
createdNew System.Boolean
return System.Threading.Mutex

LockByMutex() public static method

public static LockByMutex ( String name, System.Action action ) : void
name String
action System.Action
return void