ClusterJobScheduler.CheckCapability Method (ICapabilityCheck, IList<TaskPrecondition>) |
Checks capability on agents which meets the specified precondition.
Namespace:
AGI.Parallel.Client
Assembly:
AGI.Parallel.Client (in AGI.Parallel.Client.dll) Version: 2.10.0.1777 (2.10.0.1777)
Syntaxpublic IEnumerable<AgentCheckCapabilityResult> CheckCapability(
ICapabilityCheck check,
IList<TaskPrecondition> preconditions
)
Public Function CheckCapability (
check As ICapabilityCheck,
preconditions As IList(Of TaskPrecondition)
) As IEnumerable(Of AgentCheckCapabilityResult)
Parameters
- check
- Type: ICapabilityCheck
The capability check. - preconditions
- Type: System.Collections.Generic.IList<TaskPrecondition>
The capabilities preconditions.
Return Value
Type:
IEnumerable<AgentCheckCapabilityResult>Results from the check capability.
Implements
ICheckCapability.CheckCapability(ICapabilityCheck, IList<TaskPrecondition>)
ExceptionsException | Condition |
---|
JobSchedulerException | Thrown if client is not connected to the job scheduler yet. |
ArgumentNullException | if check parameter is null |
See Also