ClusterJobSchedulerCheckCapability Method (ICapabilityCheck, IListTaskPrecondition) |
Checks capability on agents which meets the specified precondition.
Namespace:
AGI.Parallel.Client
Assembly:
AGI.Parallel.Client (in AGI.Parallel.Client.dll) Version: 2.9.0.1601 (2.9.0.1601)
Syntax public 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.GenericIListTaskPrecondition
The capabilities preconditions.
Return Value
Type:
IEnumerableAgentCheckCapabilityResultResults from the check capability.
Implements
ICheckCapabilityCheckCapability(ICapabilityCheck, IListTaskPrecondition)Exceptions Exception | Condition |
---|
JobSchedulerException | Thrown if client is not connected to the job scheduler yet. |
ArgumentNullException | if check parameter is null |
See Also