ContinuousWebJobOperationsExtensions.UploadZip 方法 (IContinuousWebJobOperations, String, String, Stream)
创建或替换 (包含 WebJob 二进制文件) 的 zip 文件的连续 WebJob。
命名空间: Microsoft.WindowsAzure
程序集: Microsoft.WindowsAzure.Management.WebSites(Microsoft.WindowsAzure.Management.WebSites.dll 中)
语法
public static OperationResponse UploadZip(
this IContinuousWebJobOperations operations,
string jobName,
string fileName,
Stream jobContent
)
public:
[ExtensionAttribute]
static OperationResponse^ UploadZip(
IContinuousWebJobOperations^ operations,
String^ jobName,
String^ fileName,
Stream^ jobContent
)
static member UploadZip :
operations:IContinuousWebJobOperations *
jobName:string *
fileName:string *
jobContent:Stream -> OperationResponse
<ExtensionAttribute>
Public Shared Function UploadZip (
operations As IContinuousWebJobOperations,
jobName As String,
fileName As String,
jobContent As Stream
) As OperationResponse
参数
operations
Type: Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations对 Microsoft.WindowsAzure.WebSitesExtensions.IContinuousWebJobOperations 引用。
jobName
Type: System.String必需。 连续的 WebJob 名称。
fileName
Type: System.String必需。 Zip 文件的名称。
jobContent
Type: System.IO.Stream必需。 Zip 文件内容。
返回值
Type: Microsoft.WindowsAzure.OperationResponse
标准服务响应,包括 HTTP 状态代码和请求 ID。
请参阅
ContinuousWebJobOperationsExtensions 类
Microsoft.WindowsAzure 命名空间
返回页首