Delen via


Apps.PublishWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ProductionOrStagingEndpointInfo>> PublishWithHttpMessagesAsync (Guid appId, Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ApplicationPublishObject applicationPublishObject, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member PublishWithHttpMessagesAsync : Guid * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ApplicationPublishObject * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ProductionOrStagingEndpointInfo>>
override this.PublishWithHttpMessagesAsync : Guid * Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ApplicationPublishObject * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ProductionOrStagingEndpointInfo>>
Public Function PublishWithHttpMessagesAsync (appId As Guid, applicationPublishObject As ApplicationPublishObject, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of ProductionOrStagingEndpointInfo))

Parameters

appId
Guid
applicationPublishObject
ApplicationPublishObject
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Implements

Applies to