IContinuousWebJobOperations.UploadFileAsync Method (String, String, Stream, CancellationToken)

 

Create or replace a continuous WebJob with a script file (.exe, .bat, .php, .js...).

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

Function UploadFileAsync (
	jobName As String,
	fileName As String,
	jobContent As Stream,
	cancellationToken As CancellationToken
) As Task(Of OperationResponse)

Parameters

jobName
Type: System.String

The continuous WebJob name.

fileName
Type: System.String

The file name.

jobContent
Type: System.IO.Stream

The file content.

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks.Task(Of OperationResponse)

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

Return to top
Show: