IContinuousWebJobOperations.UploadZipAsync Method (String, String, Stream, CancellationToken)
Create or replace a continuous WebJob with a zip file (containing the WebJob binaries).
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Task<OperationResponse> UploadZipAsync( string jobName, string fileName, Stream jobContent, CancellationToken cancellationToken )
Parameters
- jobName
-
Type:
System.String
The continuous WebJob name.
- fileName
-
Type:
System.String
The zip file name.
- jobContent
-
Type:
System.IO.Stream
The zip file content.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<OperationResponse>A standard service response including an HTTP status code and request ID.
Show: