Click or drag to resize

CCriticalSectionTryEnter Method

Attempt to enter the critical section without blocking.

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public bool TryEnter()

Return Value

Boolean
True, calling thread has ownership of the critical section; otherwise, false.
Exceptions
ExceptionCondition
ObjectDisposedExceptionCritical Section has been disposed.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also