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

IContextLocalLogger.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(OpenActivityOptions, CallerInfo) and suspended by SuspendActivity(ILoggingContext, CallerInfo).
callerInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo
Information about the caller code.
See Also