你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TasksOperationsExtensions.UpdateSubscriptionLevelTaskStateAsync Method

Definition

Recommended tasks that will help improve the security of the subscription proactively

public static System.Threading.Tasks.Task UpdateSubscriptionLevelTaskStateAsync (this Microsoft.Azure.Management.Security.ITasksOperations operations, string taskName, string taskUpdateActionType, System.Threading.CancellationToken cancellationToken = default);
static member UpdateSubscriptionLevelTaskStateAsync : Microsoft.Azure.Management.Security.ITasksOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateSubscriptionLevelTaskStateAsync (operations As ITasksOperations, taskName As String, taskUpdateActionType As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ITasksOperations

The operations group for this extension method.

taskName
String

Name of the task object, will be a GUID

taskUpdateActionType
String

Type of the action to do on the task

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to