Click or drag to resize

ExtensionsWaitOne Method

Waits for a signal or a cancellation. The cancellation exception will raised if a cancellation is requested.

Namespace: RAYLASE.Shared
Assembly: RAYLASE.Shared (in RAYLASE.Shared.dll) Version: 2.19.0
Syntax
C#
public static void WaitOne(
	this WaitHandle waitHandle,
	CancellationToken cancellationToken
)

Parameters

waitHandle  WaitHandle
The wait handle.
cancellationToken  CancellationToken
The cancellation token.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type WaitHandle. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also