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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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