Summary

public bool TryAcquireExclusive()

Attempts to acquire the lock in exclusive mode.

Returns

bool

Whether the lock was acquired.