IQuerySpaceZoneController.IsActivatedAsync(String, CancellationToken) 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.
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.