共用方式為


AppsOperationsExtensions.CheckNameAvailabilityAsync Method

Definition

Check if an IoT Central application name is available.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotCentral.Models.AppAvailabilityInfo> CheckNameAvailabilityAsync (this Microsoft.Azure.Management.IotCentral.IAppsOperations operations, Microsoft.Azure.Management.IotCentral.Models.OperationInputs operationInputs, System.Threading.CancellationToken cancellationToken = default);
static member CheckNameAvailabilityAsync : Microsoft.Azure.Management.IotCentral.IAppsOperations * Microsoft.Azure.Management.IotCentral.Models.OperationInputs * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotCentral.Models.AppAvailabilityInfo>
<Extension()>
Public Function CheckNameAvailabilityAsync (operations As IAppsOperations, operationInputs As OperationInputs, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AppAvailabilityInfo)

Parameters

operations
IAppsOperations

The operations group for this extension method.

operationInputs
OperationInputs

Set the name parameter in the OperationInputs structure to the name of the IoT Central application to check.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to