Compartilhar via


Método ContinuousWebJobOperationsExtensions.UploadFile (IContinuousWebJobOperations, String, String, Stream)

 

Criar ou substituir um trabalho de Web contínuo 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 IContinuousWebJobOperations operations,
    string jobName,
    string fileName,
    Stream jobContent
)
public:
[ExtensionAttribute]
static OperationResponse^ UploadFile(
    IContinuousWebJobOperations^ operations,
    String^ jobName,
    String^ fileName,
    Stream^ jobContent
)
static member UploadFile : 
        operations:IContinuousWebJobOperations *
        jobName:string *
        fileName:string *
        jobContent:Stream -> OperationResponse
<ExtensionAttribute>
Public Shared Function UploadFile (
    operations As IContinuousWebJobOperations,
    jobName As String,
    fileName As String,
    jobContent As Stream
) As OperationResponse

Parâmetros

  • jobName
    Type: System.String

    Obrigatório. O nome do trabalho Web contínuo.

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 ContinuousWebJobOperationsExtensions
Namespace Microsoft.WindowsAzure

Retornar ao topo