Freigeben über


AppServiceExtensions.GetAppServiceSourceControlAsync Methode

Definition

Beschreibung für Ruft das Quellcodeverwaltungstoken ab.

  • Anforderungspfad/providers/Microsoft.Web/sourcecontrols/{sourceControlType}
  • Vorgang IdGetSourceControl
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppServiceSourceControlResource>> GetAppServiceSourceControlAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, string sourceControlType, System.Threading.CancellationToken cancellationToken = default);
static member GetAppServiceSourceControlAsync : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppServiceSourceControlResource>>
<Extension()>
Public Function GetAppServiceSourceControlAsync (tenantResource As TenantResource, sourceControlType As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppServiceSourceControlResource))

Parameter

tenantResource
TenantResource

Der TenantResource instance die -Methode ausgeführt wird.

sourceControlType
String

Typ der Quellcodeverwaltung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

sourceControlType ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

sourceControlType ist NULL.

Gilt für: