SuspendableLoggingContext.Suspend Method |
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
public virtual void Suspend()
In case of iterators, the Suspend() method is only invoked when MoveNext() returns true. Otherwise, the Dispose(Boolean) method is invoked.