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

 

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

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

语法

Task<OperationResponse> SetSettingsAsync(
    string jobName,
    TriggeredWebJobSettingsUpdateParameters settings,
    CancellationToken cancellationToken
)
Task<OperationResponse^>^ SetSettingsAsync(
    String^ jobName,
    TriggeredWebJobSettingsUpdateParameters^ settings,
    CancellationToken cancellationToken
)
abstract SetSettingsAsync : 
        jobName:string *
        settings:TriggeredWebJobSettingsUpdateParameters *
        cancellationToken:CancellationToken -> Task<OperationResponse>
Function SetSettingsAsync (
    jobName As String,
    settings As TriggeredWebJobSettingsUpdateParameters,
    cancellationToken As CancellationToken
) As Task(Of OperationResponse)

参数

返回值

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

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

请参阅

ITriggeredWebJobOperations 接口
Microsoft.WindowsAzure.WebSitesExtensions 命名空间

返回页首