TriggeredWebJobOperationsExtensions.SetSettingsAsync 方法 (ITriggeredWebJobOperations, String, TriggeredWebJobSettingsUpdateParameters)

 

设置触发 WebJob (将替换的 webjob 的当前设置) 的设置。

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

语法

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

参数

  • jobName
    Type: System.String

    必需。 触发的 WebJob 名称。

返回值

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

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

请参阅

TriggeredWebJobOperationsExtensions 类
Microsoft.WindowsAzure 命名空间

返回页首