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