Share via


ITriggeredWebJobOperations.DeleteAsync Method

Delete a triggered WebJob.

Namespace: Microsoft.WindowsAzure.WebSitesExtensions
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Usage

'Usage
Dim instance As ITriggeredWebJobOperations
Dim jobName As String
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of OperationResponse)

returnValue = instance.DeleteAsync(jobName, cancellationToken)

Syntax

'Declaration
Function DeleteAsync ( _
    jobName As String, _
    cancellationToken As CancellationToken _
) As Task(Of OperationResponse)
Task<OperationResponse> DeleteAsync (
    string jobName,
    CancellationToken cancellationToken
)
Task<OperationResponse^>^ DeleteAsync (
    String^ jobName, 
    CancellationToken cancellationToken
)
Task<OperationResponse> DeleteAsync (
    String jobName, 
    CancellationToken cancellationToken
)
function DeleteAsync (
    jobName : String, 
    cancellationToken : CancellationToken
) : Task<OperationResponse>

Parameters

  • jobName
    The triggered WebJob name.
  • cancellationToken
    Cancellation token.

Return Value

A standard service response including an HTTP status code and request ID.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ITriggeredWebJobOperations Interface
ITriggeredWebJobOperations Members
Microsoft.WindowsAzure.WebSitesExtensions Namespace