FabricClient.RepairManagementClient.GetRepairTaskListAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetRepairTaskListAsync() |
Gets a list of all repair tasks. |
GetRepairTaskListAsync(TimeSpan, CancellationToken) |
Gets a list of all repair tasks. |
GetRepairTaskListAsync(String, RepairTaskStateFilter, String) |
Gets a list of repair tasks matching all of the given filters. |
GetRepairTaskListAsync(String, RepairTaskStateFilter, String, TimeSpan, CancellationToken) |
Gets a list of repair tasks matching all of the given filters. |
GetRepairTaskListAsync()
Gets a list of all repair tasks.
public System.Threading.Tasks.Task<System.Fabric.Repair.RepairTaskList> GetRepairTaskListAsync ();
member this.GetRepairTaskListAsync : unit -> System.Threading.Tasks.Task<System.Fabric.Repair.RepairTaskList>
Public Function GetRepairTaskListAsync () As Task(Of RepairTaskList)
Returns
The list of all repair tasks.
Applies to
GetRepairTaskListAsync(TimeSpan, CancellationToken)
Gets a list of all repair tasks.
public System.Threading.Tasks.Task<System.Fabric.Repair.RepairTaskList> GetRepairTaskListAsync (TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetRepairTaskListAsync : TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Repair.RepairTaskList>
Public Function GetRepairTaskListAsync (timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of RepairTaskList)
Parameters
- timeout
- TimeSpan
The maximum amount of time Service Fabric will allow this operation to continue before returning a TimeoutException.
- cancellationToken
- CancellationToken
The optional cancellation token that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation may still be completed even if it is cancelled.
Returns
The list of all repair tasks.
Applies to
GetRepairTaskListAsync(String, RepairTaskStateFilter, String)
Gets a list of repair tasks matching all of the given filters.
public System.Threading.Tasks.Task<System.Fabric.Repair.RepairTaskList> GetRepairTaskListAsync (string taskIdFilter, System.Fabric.Repair.RepairTaskStateFilter stateFilter, string executorFilter);
member this.GetRepairTaskListAsync : string * System.Fabric.Repair.RepairTaskStateFilter * string -> System.Threading.Tasks.Task<System.Fabric.Repair.RepairTaskList>
Public Function GetRepairTaskListAsync (taskIdFilter As String, stateFilter As RepairTaskStateFilter, executorFilter As String) As Task(Of RepairTaskList)
Parameters
- taskIdFilter
- String
The repair task ID prefix to be matched. If null, no filter is applied to the task ID.
- stateFilter
- RepairTaskStateFilter
A bitwise combination of state filter values that specify which task states should be included in the list.
- executorFilter
- String
The name of the repair executor whose claimed tasks should be included in the list. If null, no filter is applied to the executor name.
Returns
The list of repair tasks matching all of the given filters.
Applies to
GetRepairTaskListAsync(String, RepairTaskStateFilter, String, TimeSpan, CancellationToken)
Gets a list of repair tasks matching all of the given filters.
public System.Threading.Tasks.Task<System.Fabric.Repair.RepairTaskList> GetRepairTaskListAsync (string taskIdFilter, System.Fabric.Repair.RepairTaskStateFilter stateFilter, string executorFilter, TimeSpan timeout, System.Threading.CancellationToken cancellationToken);
member this.GetRepairTaskListAsync : string * System.Fabric.Repair.RepairTaskStateFilter * string * TimeSpan * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Fabric.Repair.RepairTaskList>
Public Function GetRepairTaskListAsync (taskIdFilter As String, stateFilter As RepairTaskStateFilter, executorFilter As String, timeout As TimeSpan, cancellationToken As CancellationToken) As Task(Of RepairTaskList)
Parameters
- taskIdFilter
- String
The repair task ID prefix to be matched. If null, no filter is applied to the task ID.
- stateFilter
- RepairTaskStateFilter
A bitwise combination of state filter values that specify which task states should be included in the list.
- executorFilter
- String
The name of the repair executor whose claimed tasks should be included in the list. If null, no filter is applied to the executor name.
- timeout
- TimeSpan
The maximum amount of time Service Fabric will allow this operation to continue before returning a TimeoutException.
- cancellationToken
- CancellationToken
The optional cancellation token that the operation is observing. It can be used to send a notification that the operation should be canceled. Note that cancellation is advisory and that the operation may still be completed even if it is cancelled.
Returns
The list of repair tasks matching all of the given filters.
Applies to
Azure SDK for .NET