ContinuousWebJobOperationsExtensions.UploadFileAsync Method (IContinuousWebJobOperations, String, String, Stream)
Create or replace a continuous WebJob with a script file (.exe, .bat, .php, .js...).
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
public static Task<OperationResponse> UploadFileAsync( this IContinuousWebJobOperations operations, string jobName, string fileName, Stream jobContent )
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: System.Threading.Tasks.Task<OperationResponse>A standard service response including an HTTP status code and request ID.
Show: