ContinuousWebJobOperationsExtensions.UploadZip Method (IContinuousWebJobOperations, String, String, Stream)
Create or replace a continuous WebJob with a zip file (containing the WebJob binaries).
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
public static OperationResponse UploadZip(
this IContinuousWebJobOperations operations,
string jobName,
string fileName,
Stream jobContent
)
public:
[ExtensionAttribute]
static OperationResponse^ UploadZip(
IContinuousWebJobOperations^ operations,
String^ jobName,
String^ fileName,
Stream^ jobContent
)
static member UploadZip :
operations:IContinuousWebJobOperations *
jobName:string *
fileName:string *
jobContent:Stream -> OperationResponse
<ExtensionAttribute>
Public Shared Function UploadZip (
operations As IContinuousWebJobOperations,
jobName As String,
fileName As String,
jobContent As Stream
) As OperationResponse
Parameters
operations
Type: Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperationsReference to the Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations.
jobName
Type: System.StringRequired. The continuous WebJob name.
fileName
Type: System.StringRequired. The zip file name.
jobContent
Type: System.IO.StreamRequired. The zip file content.
Return Value
Type: Microsoft.WindowsAzure.OperationResponse
A standard service response including an HTTP status code and request ID.
See Also
ContinuousWebJobOperationsExtensions Class
Microsoft.WindowsAzure Namespace
Return to top