SemaphoreSlimFactory public static class SemaphoreSlimFactory A factory class for the different implementations of SemaphoreSlim used by Polly. Documentation Code public static SemaphoreSlim CreateSemaphoreSlim(int maxParallelization) Creates the semaphore slim.