Partilhar via


WebSiteManagementClient.UpdateSourceControlWithHttpMessagesAsync Método

Definição

Atualizações token de controlo de origem

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner>> UpdateSourceControlWithHttpMessagesAsync (string sourceControlType, Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner requestMessage, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSourceControlWithHttpMessagesAsync : string * Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner>>
override this.UpdateSourceControlWithHttpMessagesAsync : string * Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner>>
Public Function UpdateSourceControlWithHttpMessagesAsync (sourceControlType As String, requestMessage As SourceControlInner, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of SourceControlInner))

Parâmetros

sourceControlType
String

Tipo de controlo de origem

requestMessage
SourceControlInner

Informações do token de controlo de origem

customHeaders
Dictionary<String,List<String>>

Cabeçalhos que serão adicionados ao pedido.

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

Implementações

Exceções

Gerado quando a operação devolveu um código de estado inválido

Lançada quando não é possível anular a serialização da resposta

Acionado quando um parâmetro necessário é nulo

Acionado quando um parâmetro necessário é nulo

Observações

Descrição do token de controlo de origem Atualizações

Aplica-se a