System.Threading.ManualResetEventSlim.WaitHandle Property

Gets the underlying System.Threading.WaitHandle object for this System.Threading.ManualResetEventSlim.

Syntax

public WaitHandle WaitHandle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Accessing this property forces initialization of an underlying event object if one hasn't already been created. To simply wait on this System.Threading.ManualResetEventSlim, the public Wait methods should be preferred. It is recommended to dispose the System.Threading.ManualResetEventSlim instance after accessing this property, in order to prevent a resource leak.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0