Condividi tramite


Metodo TriggeredWebJobOperationsExtensions.UploadFile (ITriggeredWebJobOperations, String, String, Stream)

 

Creare o sostituire un processo Web attivati con un file di script (.exe, bat,. PHP,.... js).

Spazio dei nomi:   Microsoft.WindowsAzure
Assembly:  Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Sintassi

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

Parametri

  • jobName
    Type: System.String

    Obbligatorio. Il nome di processo Web attivato.

Valore restituito

Type: Microsoft.WindowsAzure.OperationResponse

Risposta del servizio standard tra cui un codice di stato HTTP e l'ID richiesta.

Vedere anche

Classe TriggeredWebJobOperationsExtensions
Spazio dei nomi Microsoft.WindowsAzure

Torna all'inizio