PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsILog­ActivitySuspend
Open sandboxFocus

ILogActivity.Suspend Method

Suspend()

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.

Declaration
void Suspend()

Suspend(ref CallerInfo)

Declaration
void Suspend(ref CallerInfo callerInfo)
Parameters
Type Name Description
CallerInfo callerInfo