AsyncHelperHandleCompleted Method

This method can be used to immediately finish a synchronous operation that does not have a return value.
See the Examples section of the AsyncHelper class for details. The example uses the similarly working FromResult method.

Definition

Namespace: KGySoft.Threading
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.2.0
C#
public static void HandleCompleted(
	ParallelConfig? configuration
)

Parameters

configuration  ParallelConfig
The configuration for the operation.

Exceptions

OperationCanceledExceptionThe operation has been canceled and ThrowIfCanceled in configuration was .

See Also