Metodo TriggeredWebJobOperationsExtensions.UploadZipAsync (ITriggeredWebJobOperations, String, String, Stream)
Creare o sostituire un processo Web attivati con un file zip (contenente i file binari del processo Web).
Spazio dei nomi: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Sintassi
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)
Parametri
operations
Type: Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperationsRiferimento di Microsoft.WindowsAzure.WebSitesExtensions.ITriggeredWebJobOperations.
jobName
Type: System.StringObbligatorio. Il nome di processo Web attivato.
fileName
Type: System.StringObbligatorio. Il nome del file zip.
jobContent
Type: System.IO.StreamObbligatorio. Il contenuto del file zip.
Valore restituito
Type: System.Threading.Tasks.Task<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