次の方法で共有


ContinuousWebJobOperationsExtensions.UploadZipAsync メソッド

Create or replace a continuous WebJob with a zip file (containing the WebJob binaries).

名前空間: Microsoft.WindowsAzure
アセンブリ: Microsoft.WindowsAzure.Management.WebSites (Microsoft.WindowsAzure.Management.WebSites.dll)

使用方法

'使用
Dim operations As IContinuousWebJobOperations
Dim jobName As String
Dim fileName As String
Dim jobContent As Stream
Dim returnValue As Task(Of OperationResponse)

returnValue = ContinuousWebJobOperationsExtensions.UploadZipAsync(operations, jobName, fileName, jobContent)

構文

'宣言
<ExtensionAttribute> _
Public Shared Function UploadZipAsync ( _
    operations As IContinuousWebJobOperations, _
    jobName As String, _
    fileName As String, _
    jobContent As Stream _
) As Task(Of OperationResponse)
[ExtensionAttribute] 
public static Task<OperationResponse> UploadZipAsync (
    IContinuousWebJobOperations operations,
    string jobName,
    string fileName,
    Stream jobContent
)
[ExtensionAttribute] 
public:
static Task<OperationResponse^>^ UploadZipAsync (
    IContinuousWebJobOperations^ operations, 
    String^ jobName, 
    String^ fileName, 
    Stream^ jobContent
)
/** @attribute ExtensionAttribute() */ 
public static Task<OperationResponse> UploadZipAsync (
    IContinuousWebJobOperations operations, 
    String jobName, 
    String fileName, 
    Stream jobContent
)
ExtensionAttribute 
public static function UploadZipAsync (
    operations : IContinuousWebJobOperations, 
    jobName : String, 
    fileName : String, 
    jobContent : Stream
) : Task<OperationResponse>

パラメーター

  • operations
    Reference to the Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations.
  • jobName
    Required. The continuous WebJob name.
  • fileName
    Required. The zip file name.
  • jobContent
    Required. The zip file content.

戻り値

A standard service response including an HTTP status code and request ID.

スレッド セーフ

この型の public static (Visual Basic では Shared) メンバーはすべてスレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows 7 および Windows Server 2008

ターゲット プラットフォーム

関連項目

リファレンス

ContinuousWebJobOperationsExtensions クラス
ContinuousWebJobOperationsExtensions のメンバー
Microsoft.WindowsAzure 名前空間