次の方法で共有


ContinuousWebJobOperationsExtensions.UploadFileAsync メソッド

定義

継続的 WebJob をスクリプト ファイル (.exe、.bat、.php、.js...) で作成または置き換えます。

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> UploadFileAsync(this Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations operations, string jobName, string fileName, System.IO.Stream jobContent);
static member UploadFileAsync : Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations * string * string * System.IO.Stream -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function UploadFileAsync (operations As IContinuousWebJobOperations, jobName As String, fileName As String, jobContent As Stream) As Task(Of AzureOperationResponse)

パラメーター

operations
IContinuousWebJobOperations

Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations への参照。

jobName
String

必須。 継続的な Web ジョブ名。

fileName
String

必須。 ファイル名。

jobContent
Stream

必須。 ファイルの内容。

戻り値

Task<Microsoft.Azure.AzureOperationResponse>

HTTP 状態コードと要求 ID を含む標準のサービス応答。

適用対象