Click or drag to resize

AsyncHelpersWithTimeout Method

Attaches a timeout to a continuation which will invoke the continuation when the specified timeout has elapsed.

Namespace:  NLog.Common
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public static AsyncContinuation WithTimeout(
	AsyncContinuation asyncContinuation,
	TimeSpan timeout
)

Parameters

asyncContinuation
Type: NLog.CommonAsyncContinuation
The asynchronous continuation.
timeout
Type: SystemTimeSpan
The timeout.

Return Value

Type: AsyncContinuation
Wrapped continuation.
See Also