Freigeben über


ISkillsetsOperations.ExistsWithHttpMessagesAsync Methode

Definition

Bestimmt, ob das angegebene Skillset im Suchdienst vorhanden ist.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<bool>> ExistsWithHttpMessagesAsync (string skillsetName, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsWithHttpMessagesAsync : string * Microsoft.Azure.Search.Models.SearchRequestOptions * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<bool>>
Public Function ExistsWithHttpMessagesAsync (skillsetName As String, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Boolean))

Parameter

skillsetName
String

Der Name des Skillsets.

searchRequestOptions
SearchRequestOptions

Zusätzliche Parameter für den Vorgang

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Eine Antwort mit dem Wert true , wenn das Skillset vorhanden ist, false andernfalls.

Gilt für: