Click or drag to resize

CCriticalSection Methods

The CCriticalSection type exposes the following members.

Methods
 NameDescription
Public methodDispose Clean up of unmanaged resources.
Protected methodDispose(Boolean) Dispose implementation
Public methodEnter Block until ownership of the critical section can be obtained.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Make sure unmanaged handle is cleaned up from the finalizer.
(Overrides ObjectFinalize)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLeave Release ownership of the critical section.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryEnter Attempt to enter the critical section without blocking.
Top
See Also