Método TriggeredWebJobOperationsExtensions.UploadZip
Create or replace a triggered WebJob with a zip file (containing the WebJob binaries).
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (em Microsoft.WindowsAzure.Management.WebSites.dll)
Uso
'Uso
Dim operations As ITriggeredWebJobOperations
Dim jobName As String
Dim fileName As String
Dim jobContent As Stream
Dim returnValue As OperationResponse
returnValue = TriggeredWebJobOperationsExtensions.UploadZip(operations, jobName, fileName, jobContent)
Sintaxe
'Declaração
<ExtensionAttribute> _
Public Shared Function UploadZip ( _
operations As ITriggeredWebJobOperations, _
jobName As String, _
fileName As String, _
jobContent As Stream _
) As OperationResponse
[ExtensionAttribute]
public static OperationResponse UploadZip (
ITriggeredWebJobOperations operations,
string jobName,
string fileName,
Stream jobContent
)
[ExtensionAttribute]
public:
static OperationResponse^ UploadZip (
ITriggeredWebJobOperations^ operations,
String^ jobName,
String^ fileName,
Stream^ jobContent
)
/** @attribute ExtensionAttribute() */
public static OperationResponse UploadZip (
ITriggeredWebJobOperations operations,
String jobName,
String fileName,
Stream jobContent
)
ExtensionAttribute
public static function UploadZip (
operations : ITriggeredWebJobOperations,
jobName : String,
fileName : String,
jobContent : Stream
) : OperationResponse
Parâmetros
- operations
Reference to the Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations.
- jobName
Required. The triggered WebJob name.
- fileName
Required. The zip file name.
- jobContent
Required. The zip file content.
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
Classe TriggeredWebJobOperationsExtensions
Membros TriggeredWebJobOperationsExtensions
Namespace Microsoft.WindowsAzure