CustomVisionTrainingClient.CreateProjectWithHttpMessagesAsync 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.
Overloads
CreateProjectWithHttpMessagesAsync(String, String, Nullable<Guid>, String, IList<String>, Dictionary<String,List<String>>, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Project>> CreateProjectWithHttpMessagesAsync (string name, string description = default, Guid? domainId = default, string classificationType = default, System.Collections.Generic.IList<string> targetExportPlatforms = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateProjectWithHttpMessagesAsync : string * string * Nullable<Guid> * string * System.Collections.Generic.IList<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.Project>>
override this.CreateProjectWithHttpMessagesAsync : string * string * Nullable<Guid> * string * System.Collections.Generic.IList<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.Project>>
Public Function CreateProjectWithHttpMessagesAsync (name As String, Optional description As String = Nothing, Optional domainId As Nullable(Of Guid) = Nothing, Optional classificationType As String = Nothing, Optional targetExportPlatforms As IList(Of String) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Project))
Parameters
- name
- String
- description
- String
- classificationType
- String
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken
Returns
Implements
Applies to
CreateProjectWithHttpMessagesAsync(String, String, Nullable<Guid>, String, IList<String>, CreateProjectOptions, Dictionary<String, List<String>>, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Project>> CreateProjectWithHttpMessagesAsync (string name, string description = default, Guid? domainId = default, string classificationType = default, System.Collections.Generic.IList<string> targetExportPlatforms = default, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.CreateProjectOptions options = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateProjectWithHttpMessagesAsync : string * string * Nullable<Guid> * string * System.Collections.Generic.IList<string> * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.CreateProjectOptions * 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.Project>>
override this.CreateProjectWithHttpMessagesAsync : string * string * Nullable<Guid> * string * System.Collections.Generic.IList<string> * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.CreateProjectOptions * 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.Project>>
Public Function CreateProjectWithHttpMessagesAsync (name As String, Optional description As String = Nothing, Optional domainId As Nullable(Of Guid) = Nothing, Optional classificationType As String = Nothing, Optional targetExportPlatforms As IList(Of String) = Nothing, Optional options As CreateProjectOptions = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of Project))
Parameters
- name
- String
- description
- String
- classificationType
- String
- options
- CreateProjectOptions
- customHeaders
- Dictionary<String,List<String>>
- cancellationToken
- CancellationToken
Returns
Implements
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET