Click or drag to resize

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)
Syntax
public IEnumerable<AgentCheckCapabilityResult> CheckCapability(
	ICapabilityCheck check,
	IList<TaskPrecondition> preconditions
)

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>)
Exceptions
ExceptionCondition
JobSchedulerExceptionThrown if client is not connected to the job scheduler yet.
ArgumentNullExceptionif check parameter is null
See Also

STK Parallel Computing Server 2.10 API for .NET