PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomILoggerResume­Activity
Open sandboxFocus

ILogger.ResumeActivity Method

ResumeActivity(ILoggingContext, ref CallerInfo)

Resumes an asynchronous activity suspended by the SuspendActivity(ILoggingContext, ref CallerInfo) method.

Declaration
void ResumeActivity(ILoggingContext context, ref CallerInfo callerInfo)
Parameters
Type Name Description
ILoggingContext context

A context representing an asynchronous custom activity, created by OpenActivity(LogActivityOptions, ref CallerInfo) and suspended by SuspendActivity(ILoggingContext, ref CallerInfo).

CallerInfo callerInfo

Information about the caller source code.