IQueuePolicy.TryEnterAsync Method

Definition

Called for every incoming request. When it returns 'true' the request procedes to the server. When it returns 'false' the request is rejected immediately.

public:
 System::Threading::Tasks::ValueTask<bool> TryEnterAsync();
public System.Threading.Tasks.ValueTask<bool> TryEnterAsync ();
abstract member TryEnterAsync : unit -> System.Threading.Tasks.ValueTask<bool>
Public Function TryEnterAsync () As ValueTask(Of Boolean)

Returns

Applies to