Compartilhar via


Método TriggeredWebJobOperationsExtensions.UploadFile (ITriggeredWebJobOperations, String, String, Stream)

 

Criar ou substituir um WebJob disparado com um arquivo de script (.exe,. bat,. PHP,.... js).

Namespace:   Microsoft.WindowsAzure
Assembly:  Microsoft.WindowsAzure.Management.WebSites (em Microsoft.WindowsAzure.Management.WebSites.dll)

Sintaxe

public static OperationResponse UploadFile(
    this ITriggeredWebJobOperations operations,
    string jobName,
    string fileName,
    Stream jobContent
)
public:
[ExtensionAttribute]
static OperationResponse^ UploadFile(
    ITriggeredWebJobOperations^ operations,
    String^ jobName,
    String^ fileName,
    Stream^ jobContent
)
static member UploadFile : 
        operations:ITriggeredWebJobOperations *
        jobName:string *
        fileName:string *
        jobContent:Stream -> OperationResponse
<ExtensionAttribute>
Public Shared Function UploadFile (
    operations As ITriggeredWebJobOperations,
    jobName As String,
    fileName As String,
    jobContent As Stream
) As OperationResponse

Parâmetros

  • jobName
    Type: System.String

    Obrigatório. O nome do trabalho Web disparado.

Valor de retorno

Type: Microsoft.WindowsAzure.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