Method BeginScope
BeginScope(string?)
Makes tenantId ambient until the returned scope is disposed.
Workers call this before resolving a job's target so execution observes the tenant the
job was enqueued under.
IDisposable BeginScope(string? tenantId)
Parameters
tenantIdstring