| 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.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public static void Repeat(
int repeatCount,
AsyncContinuation asyncContinuation,
AsynchronousAction action
)
Public Shared Sub Repeat (
repeatCount As Integer,
asyncContinuation As AsyncContinuation,
action As AsynchronousAction
)
Dim repeatCount As Integer
Dim asyncContinuation As AsyncContinuation
Dim action As AsynchronousAction
AsyncHelpers.Repeat(repeatCount, asyncContinuation,
action)
static member Repeat :
repeatCount : int *
asyncContinuation : AsyncContinuation *
action : AsynchronousAction -> unit
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