PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Log­Activity(TActivity­Description) Structure / Log­Activity(TActivity­Description) Methods / Log­Activity(TActivity­Description).​Suspend Method

LogActivity<TActivityDescription>.Suspend Method

Suspends the current async activity. The activity must than be resumed by a call of the Resume() method. There is typically no need to invoke this method in user code because all async methods that use the Logger class are automatically instrumented.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
public void Suspend()

Implements

ILogActivity.Suspend()
See Also