Click or drag to resize

AsyncHelpersRepeat Method

Repeats the specified asynchronous action multiple times and invokes asynchronous continuation at the end.

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public static void Repeat(
	int repeatCount,
	AsyncContinuation asyncContinuation,
	AsynchronousAction action
)

Parameters

repeatCount
Type: SystemInt32
The repeat count.
asyncContinuation
Type: NLog.CommonAsyncContinuation
The asynchronous continuation to invoke at the end.
action
Type: NLog.CommonAsynchronousAction
The action to invoke.
See Also