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.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
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