ContinuousWebJobOperationsExtensions.UploadFile 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)
<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.OperationResponseA standard service response including an HTTP status code and request ID.
Show: