Partager via


ICustomVisionTrainingClient.CreateTagWithHttpMessagesAsync Méthode

Définition

Crée une étiquette pour le projet.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag>> CreateTagWithHttpMessagesAsync (Guid projectId, string name, string description = default, string type = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateTagWithHttpMessagesAsync : Guid * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag>>
Public Function CreateTagWithHttpMessagesAsync (projectId As Guid, name As String, Optional description As String = Nothing, Optional type As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Tag))

Paramètres

projectId
Guid

ID de projet.

name
String

Nom de la balise.

description
String

Description facultative de la balise.

type
String

Type facultatif pour la balise. Les valeurs possibles sont les suivantes : 'Regular', 'Negative'

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à