Поделиться через


WebSiteManagementClient.UpdateSourceControlWithHttpMessagesAsync Метод

Определение

Обновления маркер системы управления версиями

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))

Параметры

sourceControlType
String

Тип системы управления версиями

requestMessage
SourceControlInner

Сведения о маркере системы управления версиями

customHeaders
Dictionary<String,List<String>>

Заголовки, которые будут добавлены в запрос.

cancellationToken
CancellationToken

Токен отмены.

Возвращаемое значение

Реализации

Исключения

Возникает, когда операция возвращает недопустимый код состояния

Возникает, если не удается десериализовать ответ

Возникает, если обязательный параметр имеет значение NULL

Возникает, если обязательный параметр имеет значение NULL

Комментарии

Описание маркера системы управления версиями Обновления

Применяется к