CauOrchestratorBaseCommand.CreatePrepTasksForNodes Method (IList<CauNode>, Func<IClusterNodeUpdater, CauNode, Int32, Task<CauOrchestratorBaseCommand.PrepTaskResult>>, IClusterNodeUpdater[])
Namespace: Microsoft.ClusterAwareUpdating.Commands
Assembly: ClusterAwareUpdating (in ClusterAwareUpdating.dll)
Syntax
protected Task<CauOrchestratorBaseCommand.PrepTaskResult>[] CreatePrepTasksForNodes(
IList<CauNode> nodes,
Func<IClusterNodeUpdater, CauNode, int, Task<CauOrchestratorBaseCommand.PrepTaskResult>> taskCreator,
out IClusterNodeUpdater[] updaters
)
protected:
array<Task<CauOrchestratorBaseCommand::PrepTaskResult^>^>^ CreatePrepTasksForNodes(
IList<CauNode^>^ nodes,
Func<IClusterNodeUpdater^, CauNode^, int, Task<CauOrchestratorBaseCommand::PrepTaskResult^>^>^ taskCreator,
[OutAttribute] array<IClusterNodeUpdater^>^% updaters
)
member CreatePrepTasksForNodes :
nodes:IList<CauNode> *
taskCreator:Func<IClusterNodeUpdater, CauNode, int, Task<CauOrchestratorBaseCommand.PrepTaskResult>> *
updaters:IClusterNodeUpdater[] byref -> Task<CauOrchestratorBaseCommand.PrepTaskResult>[]
Protected Function CreatePrepTasksForNodes (
nodes As IList(Of CauNode),
taskCreator As Func(Of IClusterNodeUpdater, CauNode, Integer, Task(Of CauOrchestratorBaseCommand.PrepTaskResult)),
<OutAttribute> ByRef updaters As IClusterNodeUpdater()
) As Task(Of CauOrchestratorBaseCommand.PrepTaskResult)()
Parameters
- nodes
Type: System.Collections.Generic.IList<CauNode>
- taskCreator
Type: System.Func<IClusterNodeUpdater, CauNode, Int32, Task<CauOrchestratorBaseCommand.PrepTaskResult>>
- updaters
Type: Microsoft.ClusterAwareUpdating.IClusterNodeUpdater[]
Return Value
Type: System.Threading.Tasks.Task<CauOrchestratorBaseCommand.PrepTaskResult>[]
See Also
CauOrchestratorBaseCommand Class
Microsoft.ClusterAwareUpdating.Commands Namespace
Return to top