Class SensitiveContentEgressGuard.EgressOperation
- Namespace
- MailFathom.Application.SensitiveContent.Egress
- Assembly
- MailFathom.Application.dll
Keeps one guarded operation current for as long as its consumer is guarding into it.
public sealed class SensitiveContentEgressGuard.EgressOperation : IDisposable
- Inheritance
-
SensitiveContentEgressGuard.EgressOperation
- Implements
- Inherited Members
Remarks
The previous operation is restored rather than cleared, so a consumer that guards a payload while assembling another one leaves the outer report intact instead of ending it early. A deployment that scans nothing receives MailFathom.Application.SensitiveContent.Egress.SensitiveContentEgressGuard.EgressOperation.Inert, which reports nothing and costs one shared instance.
Methods
- Completed()
Records that the consumer guarded everything the payload was going to publish.
- Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.