ContinuousWebJobOperationsExtensions.UploadFile 方法 (IContinuousWebJobOperations, String, String, Stream)

 

创建或连续 WebJob 替换为.exe、.bat、.php (.js...) 的脚本文件。

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

语法

public static OperationResponse UploadFile(
    this IContinuousWebJobOperations operations,
    string jobName,
    string fileName,
    Stream jobContent
)
public:
[ExtensionAttribute]
static OperationResponse^ UploadFile(
    IContinuousWebJobOperations^ operations,
    String^ jobName,
    String^ fileName,
    Stream^ jobContent
)
static member UploadFile : 
        operations:IContinuousWebJobOperations *
        jobName:string *
        fileName:string *
        jobContent:Stream -> OperationResponse
<ExtensionAttribute>
Public Shared Function UploadFile (
    operations As IContinuousWebJobOperations,
    jobName As String,
    fileName As String,
    jobContent As Stream
) As OperationResponse

参数

  • jobName
    Type: System.String

    必需。 连续的 WebJob 名称。

返回值

Type: Microsoft.WindowsAzure.OperationResponse

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

请参阅

ContinuousWebJobOperationsExtensions 类
Microsoft.WindowsAzure 命名空间

返回页首