ContinuousWebJobOperationsExtensions.SetSettingsAsync 方法 (IContinuousWebJobOperations, String, ContinuousWebJobSettingsUpdateParameters)

 

设置连续 WebJob (将替换的 webjob 的当前设置) 的设置。

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

语法

public static Task<OperationResponse> SetSettingsAsync(
    this IContinuousWebJobOperations operations,
    string jobName,
    ContinuousWebJobSettingsUpdateParameters settings
)
public:
[ExtensionAttribute]
static Task<OperationResponse^>^ SetSettingsAsync(
    IContinuousWebJobOperations^ operations,
    String^ jobName,
    ContinuousWebJobSettingsUpdateParameters^ settings
)
static member SetSettingsAsync : 
        operations:IContinuousWebJobOperations *
        jobName:string *
        settings:ContinuousWebJobSettingsUpdateParameters -> Task<OperationResponse>
<ExtensionAttribute>
Public Shared Function SetSettingsAsync (
    operations As IContinuousWebJobOperations,
    jobName As String,
    settings As ContinuousWebJobSettingsUpdateParameters
) As Task(Of OperationResponse)

参数

  • jobName
    Type: System.String

    必需。 连续的 WebJob 名称。

返回值

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

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

请参阅

ContinuousWebJobOperationsExtensions 类
Microsoft.WindowsAzure 命名空间

返回页首