Click or drag to resize

ReusableObjectPoolSetPoolSize Method

Allocates the pool to the desired size.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static void SetPoolSize(
	Type type,
	int size
)
View Source

Parameters

type  Type
Type of pool to initialize.
size  Int32
Desired pool size.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionPool size must at least be one.
See Also