Click or drag to resize

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

Parameters

check
Type: ICapabilityCheck
The capability check.
preconditions
Type: System.Collections.GenericIListTaskPrecondition
The capabilities preconditions.

Return Value

Type: IEnumerableAgentCheckCapabilityResult
Results from the check capability.
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.9 API for .NET