Compartir a través de


MixedRealityClient.CheckNameAvailabilityLocalWithHttpMessagesAsync Método

Definición

Comprobación de la disponibilidad del nombre para la unicidad local

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.MixedReality.Models.CheckNameAvailabilityResponse>> CheckNameAvailabilityLocalWithHttpMessagesAsync (string location, Microsoft.Azure.Management.MixedReality.Models.CheckNameAvailabilityRequest checkNameAvailability, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckNameAvailabilityLocalWithHttpMessagesAsync : string * Microsoft.Azure.Management.MixedReality.Models.CheckNameAvailabilityRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.MixedReality.Models.CheckNameAvailabilityResponse>>
override this.CheckNameAvailabilityLocalWithHttpMessagesAsync : string * Microsoft.Azure.Management.MixedReality.Models.CheckNameAvailabilityRequest * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.MixedReality.Models.CheckNameAvailabilityResponse>>
Public Function CheckNameAvailabilityLocalWithHttpMessagesAsync (location As String, checkNameAvailability As CheckNameAvailabilityRequest, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of CheckNameAvailabilityResponse))

Parámetros

location
String

Ubicación en la que se comprobará la unicidad.

checkNameAvailability
CheckNameAvailabilityRequest

Compruebe la solicitud de disponibilidad de nombres.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Implementaciones

Excepciones

Microsoft.Azure.Management.MixedReality.Models.ErrorResponseException

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se produce cuando un parámetro obligatorio es NULL

Se aplica a