Sdílet prostřednictvím


WebSiteManagementClient.GetSourceControlWithHttpMessagesAsync Metoda

Definice

Získá token správy zdrojového kódu.

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

Parametry

sourceControlType
String

Typ správy zdrojového kódu

customHeaders
Dictionary<String,List<String>>

Hlavičky, které budou přidány do požadavku.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Implementuje

Výjimky

Vyvolá se, když operace vrátila neplatný stavový kód.

Vyvolá se, když nejde deserializovat odpověď.

Vyvolá se, když má povinný parametr hodnotu null.

Vyvolá se, když má povinný parametr hodnotu null.

Poznámky

Popis tokenu získání správy zdrojového kódu

Platí pro