[This is preliminary documentation and is subject to change.]

Flush any pending log messages asynchronously (in case of asynchronous targets).

Namespace:  NLog.Targets
Assembly:  NLog (in NLog.dll) Version: 2.0.1.0

Syntax

C#
protected virtual void FlushAsync(
	AsyncContinuation asyncContinuation
)
Visual Basic (Declaration)
Protected Overridable Sub FlushAsync ( _
	asyncContinuation As AsyncContinuation _
)
Visual Basic (Usage)
Dim asyncContinuation As AsyncContinuation

Me.FlushAsync(asyncContinuation)

Parameters

asyncContinuation
Type: NLog.Common..::.AsyncContinuation
The asynchronous continuation.

See Also