Udostępnij za pośrednictwem


ContinuousWebJobOperationsExtensions.UploadFile Method

Definition

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

public static Microsoft.Azure.AzureOperationResponse UploadFile (this Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations operations, string jobName, string fileName, System.IO.Stream jobContent);
static member UploadFile : Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations * string * string * System.IO.Stream -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function UploadFile (operations As IContinuousWebJobOperations, jobName As String, fileName As String, jobContent As Stream) As AzureOperationResponse

Parameters

operations
IContinuousWebJobOperations

Reference to the Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations.

jobName
String

Required. The continuous WebJob name.

fileName
String

Required. The file name.

jobContent
Stream

Required. The file content.

Returns

Microsoft.Azure.AzureOperationResponse

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

Applies to