ContinuousWebJobOperationsExtensions.UploadFile Method (IContinuousWebJobOperations, String, String, Stream)

 

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

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

<ExtensionAttribute>
Public Shared Function UploadFile (
	operations As IContinuousWebJobOperations,
	jobName As String,
	fileName As String,
	jobContent As Stream
) As OperationResponse

Parameters

operations
Type: Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations

Reference to the Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations.

jobName
Type: System.String

Required. The continuous WebJob name.

fileName
Type: System.String

Required. The file name.

jobContent
Type: System.IO.Stream

Required. The file content.

Return Value

Type: Microsoft.WindowsAzure.OperationResponse

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

Return to top
Show: