public SystemPerformanceOptimizationResults Optimize(
SystemPerformanceOptimizationContext context,
double rarity,
int sampleSize
)Public Function Optimize (
context As SystemPerformanceOptimizationContext,
rarity As Double,
sampleSize As Integer
) As SystemPerformanceOptimizationResultspublic:
SystemPerformanceOptimizationResults^ Optimize(
SystemPerformanceOptimizationContext^ context,
double rarity,
int sampleSize
)member Optimize :
context : SystemPerformanceOptimizationContext *
rarity : float *
sampleSize : int -> SystemPerformanceOptimizationResults For a thorough description of the method and an example of how to use it, see the remarks about the SystemPerformanceOptimizer class.
| ArgumentNullException | context is null. |
| ArgumentOutOfRangeException | sampleSize is not positive. -or- rarity is not positive. -or- rarity is not less than 1. |