Metodo ITriggeredWebJobOperations.UploadZipAsync (String, String, Stream, CancellationToken)
Creare o sostituire un processo Web attivati con un file zip (contenente i file binari del processo Web).
Spazio dei nomi: Microsoft.WindowsAzure.WebSitesExtensions
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Sintassi
Task<OperationResponse> UploadZipAsync(
string jobName,
string fileName,
Stream jobContent,
CancellationToken cancellationToken
)
Task<OperationResponse^>^ UploadZipAsync(
String^ jobName,
String^ fileName,
Stream^ jobContent,
CancellationToken cancellationToken
)
abstract UploadZipAsync :
jobName:string *
fileName:string *
jobContent:Stream *
cancellationToken:CancellationToken -> Task<OperationResponse>
Function UploadZipAsync (
jobName As String,
fileName As String,
jobContent As Stream,
cancellationToken As CancellationToken
) As Task(Of OperationResponse)
Parametri
jobName
Type: System.StringIl nome di processo Web attivato.
fileName
Type: System.StringIl nome del file zip.
jobContent
Type: System.IO.StreamIl contenuto del file zip.
cancellationToken
Type: System.Threading.CancellationTokenToken di annullamento.
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
Interfaccia ITriggeredWebJobOperations
Spazio dei nomi Microsoft.WindowsAzure.WebSitesExtensions
Torna all'inizio