ThreadingServices.WithConcurrencyController Method

Sets the ambient concurrency controller for the current thread. Until the returned AmbientConcurrencyControllerContext value is disposed,
thread-aware objects created in the current thread will be assigned to the given concurrency controller.