Ler em inglês

Compartilhar via


TriggeredWebJobOperationsExtensions.UploadFileAsync Método

Definição

Crie ou substitua um WebJob disparado por um arquivo de script (.exe, .bat, .php, .js...).

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UploadFileAsync (this Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations operations, string jobName, string fileName, System.IO.Stream jobContent);

Parâmetros

operations
ITriggeredWebJobOperations

Referência a Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations.

jobName
String

Obrigatórios. O nome do WebJob disparado.

fileName
String

Obrigatórios. O nome de arquivo.

jobContent
Stream

Obrigatórios. O conteúdo do arquivo.

Retornos

Task<Microsoft.Azure.AzureOperationResponse>

Uma resposta de serviço padrão, incluindo uma ID de solicitação e o código de status HTTP.

Aplica-se a

Produto Versões
Azure SDK for .NET Legacy