PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Threading­InstrumentationThreading­Instrumentation­Policy.​Task­EnhancementsRun_Func­Of­Task
Open sandboxFocus

Method Run_FuncOfTask

Run_FuncOfTask(Func<Task>, out Task)

Declaration
[OnMethodInvokeAdvice]
[MatchPointcut("Run")]
[MethodInterceptionAdviceOptimization]
[DebuggerAspectMethod]
public static void Run_FuncOfTask([Argument(0)] Func<Task> action, [ReturnValue] out Task returnValue)
Parameters
Type Name Description
Func<Task> action
Task returnValue