Partilhar via


WebSiteManagementClient.GetSourceControlWithHttpMessagesAsync Método

Definição

Obtém o token de controlo de origem

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.SourceControlInner>> GetSourceControlWithHttpMessagesAsync (string sourceControlType, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSourceControlWithHttpMessagesAsync : string * 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.GetSourceControlWithHttpMessagesAsync : string * 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 GetSourceControlWithHttpMessagesAsync (sourceControlType As String, 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

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 de Obter token de controlo de origem

Aplica-se a