IQueuePolicy Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Queueing policies, meant to be used with the ConcurrencyLimiterMiddleware.
public interface class IQueuePolicy
public interface IQueuePolicy
type IQueuePolicy = interface
Public Interface IQueuePolicy
Methods
OnExit() |
Called after successful requests have been returned from the server. Does NOT get called for rejected requests. |
TryEnterAsync() |
Called for every incoming request. When it returns 'true' the request procedes to the server. When it returns 'false' the request is rejected immediately. |