| AsynchronousActionT Delegate |
Asynchronous action with one argument.
Namespace:
NLog.Common
Assembly:
NLog (in NLog.dll) Version: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax public delegate void AsynchronousAction<in T>(
T argument,
AsyncContinuation asyncContinuation
)
Public Delegate Sub AsynchronousAction(Of In T) (
argument As T,
asyncContinuation As AsyncContinuation
)
Dim instance As New AsynchronousAction(Of In T)(AddressOf HandlerMethod)
type AsynchronousAction =
delegate of
argument : 'T *
asyncContinuation : AsyncContinuation -> unit
Parameters
- argument
- Type: T
Argument to the action. - asyncContinuation
- Type: NLog.CommonAsyncContinuation
Continuation to be invoked at the end of action.
Type Parameters
- T
- Type of the argument.
See Also