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

FabricClient.RepairManagementClient.UpdateRepairTaskHealthPolicyAsync Method

Definition

Overloads

UpdateRepairTaskHealthPolicyAsync(String, Int64, Nullable<Boolean>, Nullable<Boolean>)

public System.Threading.Tasks.Task<long> UpdateRepairTaskHealthPolicyAsync(string repairTaskId, long version, bool? performPreparingHealthCheck, bool? performRestoringHealthCheck);
member this.UpdateRepairTaskHealthPolicyAsync : string * int64 * Nullable<bool> * Nullable<bool> -> System.Threading.Tasks.Task<int64>
Public Function UpdateRepairTaskHealthPolicyAsync (repairTaskId As String, version As Long, performPreparingHealthCheck As Nullable(Of Boolean), performRestoringHealthCheck As Nullable(Of Boolean)) As Task(Of Long)

Parameters

repairTaskId
System.String
version
System.Int64
performPreparingHealthCheck
System.Nullable<System.Boolean>
performRestoringHealthCheck
System.Nullable<System.Boolean>

Returns

System.Threading.Tasks.Task<System.Int64>

Applies to

UpdateRepairTaskHealthPolicyAsync(String, Int64, Nullable<Boolean>, Nullable<Boolean>, TimeSpan, CancellationToken)

public System.Threading.Tasks.Task<long> UpdateRepairTaskHealthPolicyAsync(string repairTaskId, long version, bool? performPreparingHealthCheck, bool? performRestoringHealthCheck, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.UpdateRepairTaskHealthPolicyAsync : string * int64 * Nullable<bool> * Nullable<bool> * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<int64>
Public Function UpdateRepairTaskHealthPolicyAsync (repairTaskId As String, version As Long, performPreparingHealthCheck As Nullable(Of Boolean), performRestoringHealthCheck As Nullable(Of Boolean), timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of Long)

Parameters

repairTaskId
System.String
version
System.Int64
performPreparingHealthCheck
System.Nullable<System.Boolean>
performRestoringHealthCheck
System.Nullable<System.Boolean>
timeout
System.TimeSpan
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<System.Int64>

Applies to