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.244-beta+c33f622c070b2c1078a06bcb41bdeb4c19d19a0b
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