Click or drag to resize

AsyncHelpersPreventMultipleCalls Method

Wraps the continuation with a guard which will only make sure that the continuation function is invoked only once.

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public static AsyncContinuation PreventMultipleCalls(
	AsyncContinuation asyncContinuation
)

Parameters

asyncContinuation
Type: NLog.CommonAsyncContinuation
The asynchronous continuation.

Return Value

Type: AsyncContinuation
Wrapped asynchronous continuation.
See Also