IQueuePolicy.TryEnterAsync Method
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.
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)