Interface IQueryGuardSessionActivation
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
A handle that keeps one session current until it is disposed.
public interface IQueryGuardSessionActivation : IDisposable
- Inherited Members
Remarks
Disposal restores whichever session was current before the activation, which is what makes nested scopes work. Disposing twice is safe and does nothing the second time, because a diagnostics handle must never be the reason an exception path fails.
Properties
- Session
Gets the session this activation made current.