PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / ILogger Interface / ILogger Methods / ILogger.​Resume­Activity Method

ILogger.ResumeActivity Method

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

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
void ResumeActivity(
	ILoggingContext context,
	ref CallerInfo callerInfo
)

Parameters

context
Type: PostSharp.Patterns.Diagnostics.Contexts.ILoggingContext
A context representing an asynchronous custom activity, created by OpenActivity(LogActivityOptions, CallerInfo) and suspended by SuspendActivity(ILoggingContext, CallerInfo).
callerInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo
Information about the caller source code.
See Also