Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

QueueProcessingOrder Enum

Definition

Namespace:
System.Threading.RateLimiting
Assembly:
System.Threading.RateLimiting.dll
Package:
System.Threading.RateLimiting v11.0.0-preview.5.26302.115
Source:
QueueProcessingOrder.cs

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.

Controls the behavior of AcquireAsync(Int32, CancellationToken) when not enough resources can be leased.

public enum class QueueProcessingOrder
public enum QueueProcessingOrder
type QueueProcessingOrder = 
Public Enum QueueProcessingOrder
Inheritance
QueueProcessingOrder

Fields

Name Value Description
OldestFirst 0

Lease the oldest queued AcquireAsync(Int32, CancellationToken) call.

NewestFirst 1

Lease the newest queued AcquireAsync(Int32, CancellationToken) call.

Applies to


Feedback

Was this page helpful?