SuspendableLoggingContext.Suspend Method |
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.5.19.0 (6.5.19.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.