Método TriggeredWebJobOperationsExtensions.UploadZipAsync (ITriggeredWebJobOperations, String, String, Stream)
Criar ou substituir um WebJob disparado por um arquivo zip (contendo os binários do trabalho Web).
Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (em Microsoft.WindowsAzure.Management.WebSites.dll)
Sintaxe
public static Task<OperationResponse> UploadZipAsync(
this ITriggeredWebJobOperations operations,
string jobName,
string fileName,
Stream jobContent
)
public:
[ExtensionAttribute]
static Task<OperationResponse^>^ UploadZipAsync(
ITriggeredWebJobOperations^ operations,
String^ jobName,
String^ fileName,
Stream^ jobContent
)
static member UploadZipAsync :
operations:ITriggeredWebJobOperations *
jobName:string *
fileName:string *
jobContent:Stream -> Task<OperationResponse>
<ExtensionAttribute>
Public Shared Function UploadZipAsync (
operations As ITriggeredWebJobOperations,
jobName As String,
fileName As String,
jobContent As Stream
) As Task(Of OperationResponse)
Parâmetros
operations
Type: Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperationsReferência para o Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations.
jobName
Type: System.StringObrigatório. O nome do trabalho Web disparado.
fileName
Type: System.StringObrigatório. O nome do arquivo zip.
jobContent
Type: System.IO.StreamObrigatório. O conteúdo do arquivo zip.
Valor de retorno
Type: System.Threading.Tasks.Task<OperationResponse>
Uma resposta de serviço padrão, incluindo uma ID de solicitação e o código de status HTTP.
Consulte também
Classe TriggeredWebJobOperationsExtensions
Namespace Microsoft.WindowsAzure
Retornar ao topo