Compartir a través de


IQuerySpaceZoneController.IsActivatedAsync(String, CancellationToken) Method

Definition

Checks whether a specific zone is activated.

public System.Threading.Tasks.ValueTask<bool> IsActivatedAsync (string zone, System.Threading.CancellationToken cancellationToken);
abstract member IsActivatedAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.ValueTask<bool>
Public Function IsActivatedAsync (zone As String, cancellationToken As CancellationToken) As ValueTask(Of Boolean)

Parameters

zone
String

The name of a data zone.

cancellationToken
CancellationToken

A way to abort the operation.

Returns

True, if the specific zone is activated in the current space.

Applies to