Share via


TriggeredWebJobOperationsExtensions.RunAsync Method

Run a triggered WebJob.

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

Usage

'Usage
Dim operations As ITriggeredWebJobOperations
Dim jobName As String
Dim returnValue As Task(Of OperationResponse)

returnValue = TriggeredWebJobOperationsExtensions.RunAsync(operations, jobName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function RunAsync ( _
    operations As ITriggeredWebJobOperations, _
    jobName As String _
) As Task(Of OperationResponse)
[ExtensionAttribute] 
public static Task<OperationResponse> RunAsync (
    ITriggeredWebJobOperations operations,
    string jobName
)
[ExtensionAttribute] 
public:
static Task<OperationResponse^>^ RunAsync (
    ITriggeredWebJobOperations^ operations, 
    String^ jobName
)
/** @attribute ExtensionAttribute() */ 
public static Task<OperationResponse> RunAsync (
    ITriggeredWebJobOperations operations, 
    String jobName
)
ExtensionAttribute 
public static function RunAsync (
    operations : ITriggeredWebJobOperations, 
    jobName : String
) : Task<OperationResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations.
  • jobName
    Required. The triggered WebJob name.

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

TriggeredWebJobOperationsExtensions Class
TriggeredWebJobOperationsExtensions Members
Microsoft.WindowsAzure Namespace