Share via


ITriggeredWebJobOperations.UploadZipAsync Method (String, String, Stream, CancellationToken)

 

Create or replace a triggered WebJob with a zip file (containing the WebJob binaries).

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

Syntax

Task<OperationResponse> UploadZipAsync(
    string jobName,
    string fileName,
    Stream jobContent,
    CancellationToken cancellationToken
)
Task<OperationResponse^>^ UploadZipAsync(
    String^ jobName,
    String^ fileName,
    Stream^ jobContent,
    CancellationToken cancellationToken
)
abstract UploadZipAsync : 
        jobName:string *
        fileName:string *
        jobContent:Stream *
        cancellationToken:CancellationToken -> Task<OperationResponse>
Function UploadZipAsync (
    jobName As String,
    fileName As String,
    jobContent As Stream,
    cancellationToken As CancellationToken
) As Task(Of OperationResponse)

Parameters

Return Value

Type: System.Threading.Tasks.Task<OperationResponse>

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

See Also

ITriggeredWebJobOperations Interface
Microsoft.WindowsAzure.WebSitesExtensions Namespace

Return to top