ITriggeredWebJobOperations.UploadZipAsync 方法 (String, String, Stream, CancellationToken)

 

创建或触发的 WebJob 替换 (包含 WebJob 二进制文件) 的 zip 文件。

命名空间:   Microsoft.WindowsAzure.WebSitesExtensions
程序集:  Microsoft.WindowsAzure.Management.WebSites(Microsoft.WindowsAzure.Management.WebSites.dll 中)

语法

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)

参数

返回值

Type: System.Threading.Tasks.Task<OperationResponse>

标准服务响应,包括 HTTP 状态代码和请求 ID。

请参阅

ITriggeredWebJobOperations 接口
Microsoft.WindowsAzure.WebSitesExtensions 命名空间

返回页首