Freigeben über


WebAppsOperationsExtensions.GetWebJobAsync Methode

Definition

Dient zum Abrufen von Webjobinformationen für eine App oder einen Bereitstellungsslot.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.WebJob> GetWebJobAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string webJobName, System.Threading.CancellationToken cancellationToken = default);
static member GetWebJobAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.WebJob>
<Extension()>
Public Function GetWebJobAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, webJobName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WebJob)

Parameter

operations
IWebAppsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Websitename.

webJobName
String

Name des Webauftrags.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Abrufen von Webjobinformationen für eine App oder einen Bereitstellungsslot.

Gilt für: