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)

Task<OperationResponse^>^ UploadZipAsync(
	String^ jobName,
	String^ fileName,
	Stream^ jobContent,
	CancellationToken cancellationToken
)

Parameters

jobName
Type: System::String^

The triggered WebJob name.

fileName
Type: System::String^

The zip file name.

jobContent
Type: System.IO::Stream^

The zip file content.

cancellationToken
Type: System.Threading::CancellationToken

Cancellation token.

Return Value

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

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

Return to top
Show: