Method RecordClaim
- Namespace
- MailFathom.Infrastructure.Observability
- Assembly
- MailFathom.Infrastructure.dll
RecordClaim(WorkScope, bool)
Records an attempt to take a scope, and starts publishing the scope when the attempt took it.
public void RecordClaim(WorkScope scope, bool granted)
Parameters
scopeWorkScopeThe unit of work the claim asked for.
grantedboolWhether the claim took the scope.
Exceptions
- ArgumentNullException
Thrown when
scopeis null.