Método IContinuousWebJobOperations.UploadZipAsync
Create or replace a continuous WebJob with a zip file (containing the WebJob binaries).
Namespace: Microsoft.WindowsAzure.WebSitesExtensions
Assembly: Microsoft.WindowsAzure.Management.WebSites (em Microsoft.WindowsAzure.Management.WebSites.dll)
Uso
'Uso
Dim instance As IContinuousWebJobOperations
Dim jobName As String
Dim fileName As String
Dim jobContent As Stream
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of OperationResponse)
returnValue = instance.UploadZipAsync(jobName, fileName, jobContent, cancellationToken)
Sintaxe
'Declaração
Function UploadZipAsync ( _
jobName As String, _
fileName As String, _
jobContent As Stream, _
cancellationToken As CancellationToken _
) As Task(Of OperationResponse)
Task<OperationResponse> UploadZipAsync (
string jobName,
string fileName,
Stream jobContent,
CancellationToken cancellationToken
)
Task<OperationResponse^>^ UploadZipAsync (
String^ jobName,
String^ fileName,
Stream^ jobContent,
CancellationToken cancellationToken
)
Task<OperationResponse> UploadZipAsync (
String jobName,
String fileName,
Stream jobContent,
CancellationToken cancellationToken
)
function UploadZipAsync (
jobName : String,
fileName : String,
jobContent : Stream,
cancellationToken : CancellationToken
) : Task<OperationResponse>
Parâmetros
- jobName
The continuous WebJob name.
- fileName
The zip file name.
- jobContent
The zip file content.
- cancellationToken
Cancellation token.
Valor de retorno
A standard service response including an HTTP status code and request ID.
Segurança de thread
Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Interface IContinuousWebJobOperations
Membros IContinuousWebJobOperations
Namespace Microsoft.WindowsAzure.WebSitesExtensions