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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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