A LoggingContext that represents a method or activity that can be suspended and resume (possibly on a different thread), such as an async method or an iterator.
public abstract class SuspendableLoggingContext : LoggingContext, ILoggingContext
Disposes the current object.
Resumes the current context. Typically called when the state machine resumes execution, when the wait dependency is satisfied (in case of async methods) or when the MoveNext() method is called (in case of iterators).
Resume the current context, but only if it is currently suspended.
Suspends the current context. Typically called when starting to wait for a wait dependency (the operand of the