PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Sync­Method­Logging­Context Class / Sync­Method­Logging­Context Methods / Sync­Method­Logging­Context.​Return­To­Pool Method

SyncMethodLoggingContext.ReturnToPool Method

Returns the current instance to the pool to which it belongs. This method is invoked by the Dispose(Boolean) method.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
protected override void ReturnToPool()
See Also