Click or drag to resize

ThreadLooseTryLockNameGlobal method

Attempts to lock an object internally assigned to the transferred name and returns true if the block has worked. The entry with the name and object is created beforehand if necessary.

Namespace: NetEti.Globals
Assembly: NetEti.Global (in NetEti.Global.dll) Version: 1.0.0+ad672dc5430e1683eae7461ce3945c8e9dce1c49
Syntax
public static bool TryLockNameGlobal(
	
	string name,
	
	int waitMilliseconds
)

Parameters

name  String
A name that is to be blocked globally via an assigned object.
waitMilliseconds  Int32
Maximum number of milliseconds that should be maintained.

Return value

Boolean
True if the lock has worked
See also