ProcessQueueTInsertRange Method

Inserts the elements of a collection into the ProcessQueueT at the specified index.

Definition

Namespace: Gemstone.Threading.Collections
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.128 -- Release Build+d4a9a653be1def5888b9be91bb1825c8655f3529
public virtual void InsertRange(
	int index,
	IEnumerable<T> collection
)

Parameters

index  Int32
The zero-based index at which the new elements should be inserted.
collection  IEnumerableT
The collection whose elements should be inserted into the ProcessQueueT. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.

Exceptions

ArgumentOutOfRangeExceptionindex is less than 0 -or- index is greater than ProcessQueueT length.
ArgumentNullExceptioncollection is null.

See Also