System.Collections.Concurrent Provides blocking and bounding capabilities for thread-safe collections that implement . The type of elements in the collection. Initializes a new instance of the class without an upper-bound. Initializes a new instance of the class without an upper-bound and using the provided as its underlying data store. The collection to use as the underlying data store. The argument is null. Initializes a new instance of the class with the specified upper-bound and using the provided as its underlying data store. The collection to use as the underlying data store. The bounded size of the collection. The argument is null. The is not a positive value. The supplied contains more values than is permitted by . Initializes a new instance of the class with the specified upper-bound. The bounded size of the collection. The is not a positive value. Adds the item to the . The item to be added to the collection. The value can be a null reference. The has been disposed. The has been marked as complete with regards to additions.-or-The underlying collection didn't accept the item. Adds the item to the . The item to be added to the collection. The value can be a null reference. A cancellation token to observe. If the is canceled. The has been disposed or the that owns has been disposed. The has been marked as complete with regards to additions.-or-The underlying collection didn't accept the item. Adds the specified item to any one of the specified instances. The index of the collection in the array to which the item was added. The array of collections. The item to be added to one of the collections. At least one of the instances has been disposed. The argument is null. The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element, or at least one of collections has been marked as complete for adding. At least one underlying collection didn't accept the item. Adds the specified item to any one of the specified instances. The index of the collection in the array to which the item was added. The array of collections. The item to be added to one of the collections. A cancellation token to observe. If the is canceled. At least one underlying collection didn't accept the item. The argument is null. The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element, or at least one of collections has been marked as complete for adding. At least one of the instances has been disposed, or the that created has been disposed. Gets the bounded capacity of this instance. The bounded capacity of this collection, or int.MaxValue if no bound was supplied. The has been disposed. Marks the instances as not accepting any more additions. The has been disposed. Copies all of the items in the instance to a compatible one-dimensional array, starting at the specified index of the target array. The one-dimensional array that is the destination of the elements copied from the instance. The array must have zero-based indexing. The zero-based index in at which copying begins. The has been disposed. The argument is null. The argument is less than zero. The argument is equal to or greater than the length of the .The destination array is too small to hold all of the BlockingCcollection elements.The array rank doesn't match.The array type is incompatible with the type of the BlockingCollection elements. Gets the number of items contained in the . The number of items contained in the . The has been disposed. Releases all resources used by the current instance of the class. Releases resources used by the instance. Whether being disposed explicitly (true) or due to a finalizer (false). Provides a consuming for items in the collection. An that removes and returns items from the collection. The has been disposed. Provides a consuming for items in the collection. An that removes and returns items from the collection. A cancellation token to observe. If the is canceled. The has been disposed or the that created has been disposed Gets whether this has been marked as complete for adding. Whether this collection has been marked as complete for adding. The has been disposed. Gets whether this has been marked as complete for adding and is empty. Whether this collection has been marked as complete for adding and is empty. The has been disposed. Provides an for items in the collection. An for the items in the collection. The has been disposed. Copies all of the items in the instance to a compatible one-dimensional array, starting at the specified index of the target array. The one-dimensional array that is the destination of the elements copied from the instance. The array must have zero-based indexing. The zero-based index in at which copying begins. The has been disposed. The argument is null. The argument is less than zero. The argument is equal to or greater than the length of the , the array is multidimensional, or the type parameter for the collection cannot be cast automatically to the type of the destination array. Gets a value indicating whether access to the is synchronized. always returns false. The has been disposed. Gets an object that can be used to synchronize access to the . This property is not supported. returns null. The SyncRoot property is not supported. Provides an for items in the collection. An for the items in the collection. The has been disposed. Removes an item from the . The item removed from the collection. The has been disposed. The underlying collection was modified outside of this instance, or the is empty and the collection has been marked as complete for adding. Removes an item from the . The item removed from the collection. Object that can be used to cancel the take operation. The is canceled. The has been disposed or the that created the token was canceled. The underlying collection was modified outside of this instance or the BlockingCollection is marked as complete for adding, or the is empty. Takes an item from any one of the specified instances. The index of the collection in the array from which the item was removed. The array of collections. The item removed from one of the collections. At least one of the instances has been disposed. The argument is null. The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element or has been called on the collection. At least one of the underlying collections was modified outside of its instance. Takes an item from any one of the specified instances while observing the specified cancellation token. The index of the collection in the array from which the item was removed. The array of collections. The item removed from one of the collections. A cancellation token to observe. If the is canceled. At least one of the underlying collections was modified outside of its instance. The argument is null. The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element, or has been called on the collection. At least one of the instances has been disposed. Copies the items from the instance into a new array. An array containing copies of the elements of the collection. The has been disposed. Tries to add the specified item to the . true if could be added; otherwise false. If the item is a duplicate, and the underlying collection does not accept duplicate items, then an is thrown. The item to be added to the collection. The has been disposed. The has been marked as complete with regards to additions.-or-The underlying collection didn't accept the item. Tries to add the specified item to the within the specified time period. true if the could be added to the collection within the specified time; otherwise, false. If the item is a duplicate, and the underlying collection does not accept duplicate items, then an is thrown. The item to be added to the collection. The number of milliseconds to wait, or (-1) to wait indefinitely. The has been disposed. is a negative number other than -1, which represents an infinite time-out. The has been marked as complete with regards to additions.-or-The underlying collection didn't accept the item. Tries to add the specified item to the within the specified time period, while observing a cancellation token. true if the could be added to the collection within the specified time; otherwise, false. If the item is a duplicate, and the underlying collection does not accept duplicate items, then an is thrown. The item to be added to the collection. The number of milliseconds to wait, or (-1) to wait indefinitely. A cancellation token to observe. If the is canceled. The has been disposed or the underlying has been disposed. is a negative number other than -1, which represents an infinite time-out. The has been marked as complete with regards to additions.-or-The underlying collection didn't accept the item. Tries to add the specified item to the . true if the could be added to the collection within the specified time span; otherwise, false. The item to be added to the collection. A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. The has been disposed. is a negative number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than . The has been marked as complete with regards to additions.-or-The underlying collection didn't accept the item. Tries to add the specified item to any one of the specified instances. The index of the collection in the array to which the item was added, or -1 if the item could not be added. The array of collections. The item to be added to one of the collections. At least one of the instances has been disposed. The argument is null. The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element, or at least one of collections has been marked as complete for adding. At least one underlying collection didn't accept the item. Tries to add the specified item to any one of the specified instances. The index of the collection in the array to which the item was added, or -1 if the item could not be added. The array of collections. The item to be added to one of the collections. The number of milliseconds to wait, or (-1) to wait indefinitely. At least one of the instances has been disposed. The argument is null. is a negative number other than -1, which represents an infinite time-out.-or-The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element, or at least one of collections has been marked as complete for adding. At least one underlying collection didn't accept the item. Tries to add the specified item to any one of the specified instances. The index of the collection in the array to which the item was added, or -1 if the item could not be added. The array of collections. The item to be added to one of the collections. The number of milliseconds to wait, or (-1) to wait indefinitely. A cancellation token to observe. If the is canceled. At least one underlying collection didn't accept the item. The argument is null. is a negative number other than -1, which represents an infinite time-out.-or-The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element, or at least one of collections has been marked as complete for adding. At least one of the instances has been disposed. Tries to add the specified item to any one of the specified instances while observing the specified cancellation token. The index of the collection in the array to which the item was added, or -1 if the item could not be added. The array of collections. The item to be added to one of the collections. A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. At least one of the instances or the that created has been disposed. The argument is null. is a negative number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than .-or-The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element, or at least one of collections has been marked as complete for adding. At least one underlying collection didn't accept the item. Tries to remove an item from the . true if an item could be removed; otherwise, false. The item to be removed from the collection. The has been disposed. The underlying collection was modified outside of this instance. Tries to remove an item from the in the specified time period. true if an item could be removed from the collection within the specified time; otherwise, false. The item to be removed from the collection. The number of milliseconds to wait, or (-1) to wait indefinitely. The has been disposed. is a negative number other than -1, which represents an infinite time-out. The underlying collection was modified outside of this instance. Tries to remove an item from the in the specified time period while observing a cancellation token. true if an item could be removed from the collection within the specified time; otherwise, false. The item to be removed from the collection. The number of milliseconds to wait, or (-1) to wait indefinitely. A cancellation token to observe. The has been canceled. The has been disposed or the underlying has been disposed. is a negative number other than -1, which represents an infinite time-out. The underlying collection was modified outside this instance. Tries to remove an item from the in the specified time period. true if an item could be removed from the collection within the specified time; otherwise, false. The item to be removed from the collection. An object that represents the number of milliseconds to wait, or an object that represents -1 milliseconds to wait indefinitely. The has been disposed. is a negative number other than -1 milliseconds, which represents an infinite time-out.-or- is greater than . The underlying collection was modified outside of this instance. Tries to remove an item from any one of the specified instances. The index of the collection in the array from which the item was removed, or -1 if an item could not be removed. The array of collections. The item removed from one of the collections. At least one of the instances has been disposed. The argument is null. The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element. At least one of the underlying collections was modified outside of its instance. Tries to remove an item from any one of the specified instances. The index of the collection in the array from which the item was removed, or -1 if an item could not be removed. The array of collections. The item removed from one of the collections. The number of milliseconds to wait, or (-1) to wait indefinitely. At least one of the instances has been disposed. The argument is null. is a negative number other than -1, which represents an infinite time-out.-or-The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element. At least one of the underlying collections was modified outside of its instance. Tries to remove an item from any one of the specified instances. The index of the collection in the array from which the item was removed, or -1 if an item could not be removed. The array of collections. The item removed from one of the collections. The number of milliseconds to wait, or (-1) to wait indefinitely. A cancellation token to observe. If the is canceled. At least one of the underlying collections was modified outside of its instance. The argument is null. is a negative number other than -1, which represents an infinite time-out.-or-The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element. At least one of the instances has been disposed. Tries to remove an item from any one of the specified instances. The index of the collection in the array from which the item was removed, or -1 if an item could not be removed. The array of collections. The item removed from one of the collections. A that represents the number of milliseconds to wait, or a that represents -1 milliseconds to wait indefinitely. At least one of the instances has been disposed. The argument is null. is a negative number other than -1 milliseconds, which represents an infinite time-out -or- timeout is greater than .-or-The count of is greater than the maximum size of 62 for STA and 63 for MTA. The argument is a 0-length array or contains a null element. At least one of the underlying collections was modified outside of its instance. Represents a thread-safe, unordered collection of objects. The type of the elements to be stored in the collection. Initializes a new instance of the class. Initializes a new instance of the class that contains elements copied from the specified collection. The collection whose elements are copied to the new . is a null reference (Nothing in Visual Basic). Adds an object to the . The object to be added to the . The value can be a null reference (Nothing in Visual Basic) for reference types. Copies the elements to an existing one-dimensional , starting at the specified array index. The one-dimensional that is the destination of the elements copied from the . The must have zero-based indexing. The zero-based index in at which copying begins. is a null reference (Nothing in Visual Basic). is less than zero. is equal to or greater than the length of the -or- the number of elements in the source is greater than the available space from to the end of the destination . Gets the number of elements contained in the . The number of elements contained in the . Returns an enumerator that iterates through the . An enumerator for the contents of the . Gets a value that indicates whether the is empty. true if the is empty; otherwise, false. Attempts to add an object to the . Always returns true The object to be added to the . The value can be a null reference (Nothing in Visual Basic) for reference types. Copies the elements of the to an , starting at a particular index. The one-dimensional that is the destination of the elements copied from the . The must have zero-based indexing. The zero-based index in at which copying begins. is a null reference (Nothing in Visual Basic). is less than zero. is multidimensional. -or- does not have zero-based indexing. -or- is equal to or greater than the length of the -or- The number of elements in the source is greater than the available space from to the end of the destination . -or- The type of the source cannot be cast automatically to the type of the destination . Gets a value indicating whether access to the is synchronized with the SyncRoot. true if access to the is synchronized with the SyncRoot; otherwise, false. For , this property always returns false. Gets an object that can be used to synchronize access to the . This property is not supported. Returns null (Nothing in Visual Basic). The SyncRoot property is not supported. Returns an enumerator that iterates through the . An enumerator for the contents of the . Copies the elements to a new array. A new array containing a snapshot of elements copied from the . Attempts to return an object from the without removing it. true if and object was returned successfully; otherwise, false. When this method returns, contains an object from the or the default value of if the operation failed. Attempts to remove and return an object from the . true if an object was removed successfully; otherwise, false. When this method returns, contains the object removed from the or the default value of if the bag is empty. Represents a thread-safe collection of key/value pairs that can be accessed by multiple threads concurrently. The type of the keys in the dictionary. The type of the values in the dictionary. Initializes a new instance of the class that is empty, has the default concurrency level, has the default initial capacity, and uses the default comparer for the key type. Initializes a new instance of the class that contains elements copied from the specified , has the default concurrency level, has the default initial capacity, and uses the default comparer for the key type. The whose elements are copied to the new . or any of its keys is null. contains one or more duplicate keys. Initializes a new instance of the class that contains elements copied from the specified has the default concurrency level, has the default initial capacity, and uses the specified . The whose elements are copied to the new . The implementation to use when comparing keys. or is null. Initializes a new instance of the class that is empty, has the default concurrency level and capacity, and uses the specified . The equality comparison implementation to use when comparing keys. is null. Initializes a new instance of the class that contains elements copied from the specified , and uses the specified . The estimated number of threads that will update the concurrently. The whose elements are copied to the new . The implementation to use when comparing keys. or is null. is less than 1. contains one or more duplicate keys. Initializes a new instance of the class that is empty, has the specified concurrency level and capacity, and uses the default comparer for the key type. The estimated number of threads that will update the concurrently. The initial number of elements that the can contain. is less than 1.-or- is less than 0. Initializes a new instance of the class that is empty, has the specified concurrency level, has the specified initial capacity, and uses the specified . The estimated number of threads that will update the concurrently. The initial number of elements that the can contain. The implementation to use when comparing keys. is null. or is less than 1. Uses the specified functions to add a key/value pair to the if the key does not already exist, or to update a key/value pair in the if the key already exists. The new value for the key. This will be either be the result of addValueFactory (if the key was absent) or the result of updateValueFactory (if the key was present). The key to be added or whose value should be updated The function used to generate a value for an absent key The function used to generate a new value for an existing key based on the key's existing value , , or is null. The dictionary already contains the maximum number of elements (). Adds a key/value pair to the if the key does not already exist, or updates a key/value pair in the by using the specified function if the key already exists. The new value for the key. This will be either be addValue (if the key was absent) or the result of updateValueFactory (if the key was present). The key to be added or whose value should be updated The value to be added for an absent key The function used to generate a new value for an existing key based on the key's existing value or is null. The dictionary already contains the maximum number of elements (). Removes all keys and values from the . Determines whether the contains the specified key. true if the contains an element with the specified key; otherwise, false. The key to locate in the . is null. Gets the number of key/value pairs contained in the . The number of key/value pairs contained in the . The dictionary already contains the maximum number of elements (). Returns an enumerator that iterates through the . An enumerator for the . Adds a key/value pair to the by using the specified function, if the key does not already exist. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value for the key as returned by valueFactory if the key was not in the dictionary. The key of the element to add. The function used to generate a value for the key or is null. The dictionary already contains the maximum number of elements (). Adds a key/value pair to the if the key does not already exist. The value for the key. This will be either the existing value for the key if the key is already in the dictionary, or the new value if the key was not in the dictionary. The key of the element to add. the value to be added, if the key does not already exist is null. The dictionary already contains the maximum number of elements (). Gets a value that indicates whether the is empty. true if the is empty; otherwise, false. Gets or sets the value associated with the specified key. The value of the key/value pair at the specified index. The key of the value to get or set. is null. The property is retrieved and does not exist in the collection. Gets a collection containing the keys in the . A collection of keys in the . Adds an item to the collection. The to add to the dictionary. Gets whether the contains an element with the specified key. true if the contains an element with the specified key; otherwise, false. The key to locate in the . Copies the elements of the to an array, starting at the specified array index. The one-dimensional array that is the destination of the elements copied from the . The array must have zero-based indexing. The zero-based index in at which copying begins. Gets a value indicating whether the is read-only. true if the is read-only; otherwise, false. Removes the specified key/value pair from the collection. true if the element is successfully remove; otherwise false. This method also returns false if was not found in the original . The to remove. Adds the specified key and value to the . The object to use as the key of the element to add. The object to use as the value of the element to add. is null. An element with the same key already exists in the . The dictionary already contains the maximum number of elements (). Removes the element with the specified key from the . true if the element is successfully remove; otherwise false. This method also returns false if was not found in the original . The key of the element to remove. is null. Gets a collection containing the keys in the . A collection containing the keys in the . Gets a collection that contains the values in the . A collection that contains the values in the . Copies the elements of the to an array, starting at the specified array index. The one-dimensional array that is the destination of the elements copied from the . The array must have zero-based indexing. The zero-based index in at which copying begins. is null. is less than 0. is equal to or greater than the length of the . -or-The number of elements in the source is greater than the available space from to the end of the destination . Gets a value indicating whether access to the is synchronized with the SyncRoot. true if access to the is synchronized (thread safe); otherwise, false. For this property always returns false. Gets an object that can be used to synchronize access to the . This property is not supported. Always returns null. This property is not supported. Adds the specified key and value to the dictionary. The object to use as the key. The object to use as the value. is null. is of a type that is not assignable to the key type of the . -or- is of a type that is not assignable to the type of values in the . -or-A value with the same key already exists in the . The dictionary already contains the maximum number of elements (). Gets whether the contains an element with the specified key. true if the contains an element with the specified key; otherwise, false. The key to locate in the . is null. Provides a for the . A for the . Gets a value indicating whether the has a fixed size. true if the has a fixed size; otherwise, false. For , this property always returns false. Gets a value indicating whether the is read-only. true if the is read-only; otherwise, false. For , this property always returns false. Gets or sets the value associated with the specified key. The value associated with the specified key, or null if is not in the dictionary or is of a type that is not assignable to the key type of the . The key of the value to get or set. is null. A value is being assigned, and is of a type that is not assignable to the key type or the value type of the . Gets an that contains the keys of the . An interface that contains the keys of the . Removes the element with the specified key from the . The key of the element to remove. is null. Gets an that contains the values in the . An interface that contains the values in the . Returns an enumerator that iterates through the . An enumerator for the . Copies the key and value pairs stored in the to a new array. A new array containing a snapshot of key and value pairs copied from the . Attempts to add the specified key and value to the . true if the key/value pair was added to the successfully; false if the key already exists. The key of the element to add. The value of the element to add. The value can be null for reference types. is null. The dictionary already contains the maximum number of elements (). Attempts to get the value associated with the specified key from the . true if the key was found in the ; otherwise, false. The key of the value to get. When this method returns, contains the object from the that has the specified key, or the default value of the type if the operation failed. is null. Attempts to remove and return the value that has the specified key from the . true if the object was removed successfully; otherwise, false. The key of the element to remove and return. When this method returns, contains the object removed from the , or the default value of the TValue type if does not exist. is null. Compares the existing value for the specified key with a specified value, and if they are equal, updates the key with a third value. true if the value with was equal to and was replaced with ; otherwise, false. The key whose value is compared with and possibly replaced. The value that replaces the value of the element that has the specified if the comparison results in equality. The value that is compared to the value of the element that has the specified . is null. Gets a collection that contains the values in the . A collection that contains the values in the . Represents a thread-safe first in-first out (FIFO) collection. The type of the elements contained in the queue. Initializes a new instance of the class. Initializes a new instance of the class that contains elements copied from the specified collection The collection whose elements are copied to the new . The argument is null. Copies the elements to an existing one-dimensional , starting at the specified array index. The one-dimensional that is the destination of the elements copied from the . The must have zero-based indexing. The zero-based index in at which copying begins. is a null reference (Nothing in Visual Basic). is less than zero. is equal to or greater than the length of the -or- The number of elements in the source is greater than the available space from to the end of the destination . Gets the number of elements contained in the . The number of elements contained in the . Adds an object to the end of the . The object to add to the end of the . The value can be a null reference (Nothing in Visual Basic) for reference types. Returns an enumerator that iterates through the . An enumerator for the contents of the . Gets a value that indicates whether the is empty. true if the is empty; otherwise, false. Attempts to add an object to the . true if the object was added successfully; otherwise, false. The object to add to the . The value can be a null reference (Nothing in Visual Basic) for reference types. Attempts to remove and return an object from the . true if an element was removed and returned succesfully; otherwise, false. When this method returns, if the operation was successful, contains the object removed. If no object was available to be removed, the value is unspecified. Copies the elements of the to an , starting at a particular index. The one-dimensional that is the destination of the elements copied from the . The must have zero-based indexing. The zero-based index in at which copying begins. is a null reference (Nothing in Visual Basic). is less than zero. is multidimensional. -or- does not have zero-based indexing. -or- is equal to or greater than the length of the -or- The number of elements in the source is greater than the available space from to the end of the destination . -or- The type of the source cannot be cast automatically to the type of the destination . Gets a value indicating whether access to the is synchronized with the SyncRoot. true if access to the is synchronized with the SyncRoot; otherwise, false. For , this property always returns false. Gets an object that can be used to synchronize access to the . This property is not supported. Returns null (Nothing in Visual Basic). The SyncRoot property is not supported. Returns an enumerator that iterates through a collection. An that can be used to iterate through the collection. Copies the elements stored in the to a new array. A new array containing a snapshot of elements copied from the . Tries to remove and return the object at the beginning of the concurrent queue. true if an element was removed and returned from the beginning of the successfully; otherwise, false. When this method returns, if the operation was successful, contains the object removed. If no object was available to be removed, the value is unspecified. Tries to return an object from the beginning of the without removing it. true if an object was returned successfully; otherwise, false. When this method returns, contains an object from the beginning of the or an unspecified value if the operation failed. Represents a thread-safe last in-first out (LIFO) collection. The type of the elements contained in the stack. Initializes a new instance of the class. Initializes a new instance of the class that contains elements copied from the specified collection The collection whose elements are copied to the new . The argument is null. Removes all objects from the . Copies the elements to an existing one-dimensional , starting at the specified array index. The one-dimensional that is the destination of the elements copied from the . The must have zero-based indexing. The zero-based index in at which copying begins. is a null reference (Nothing in Visual Basic). is less than zero. is equal to or greater than the length of the -or- The number of elements in the source is greater than the available space from to the end of the destination . Gets the number of elements contained in the . The number of elements contained in the . Returns an enumerator that iterates through the . An enumerator for the . Gets a value that indicates whether the is empty. true if the is empty; otherwise, false. Inserts an object at the top of the . The object to push onto the . The value can be a null reference (Nothing in Visual Basic) for reference types. Inserts multiple objects at the top of the atomically. The objects to push onto the . is a null reference (Nothing in Visual Basic). Inserts multiple objects at the top of the atomically. The objects to push onto the . The zero-based offset in at which to begin inserting elements onto the top of the . The number of elements to be inserted onto the top of the . is a null reference (Nothing in Visual Basic). or is negative. Or is greater than or equal to the length of . + is greater than the length of . Attempts to add an object to the . true if the object was added successfully; otherwise, false. The object to add to the . The value can be a null reference (Nothing in Visual Basic) for reference types. Attempts to remove and return an object from the . true if an element was removed and returned succesfully; otherwise, false. When this method returns, if the operation was successful, contains the object removed. If no object was available to be removed, the value is unspecified. Copies the elements of the to an , starting at a particular index. The one-dimensional that is the destination of the elements copied from the . The must have zero-based indexing. The zero-based index in at which copying begins. is a null reference (Nothing in Visual Basic). is less than zero. is multidimensional. -or- does not have zero-based indexing. -or- is equal to or greater than the length of the -or- The number of elements in the source is greater than the available space from to the end of the destination . -or- The type of the source cannot be cast automatically to the type of the destination . Gets a value indicating whether access to the is synchronized with the SyncRoot. true if access to the is synchronized with the SyncRoot; otherwise, false. For , this property always returns false. Gets an object that can be used to synchronize access to the . This property is not supported. Returns null (Nothing in Visual Basic). The SyncRoot property is not supported Returns an enumerator that iterates through a collection. An that can be used to iterate through the collection. Copies the items stored in the to a new array. A new array containing a snapshot of elements copied from the . Attempts to return an object from the top of the without removing it. true if and object was returned successfully; otherwise, false. When this method returns, contains an object from the top of the or an unspecified value if the operation failed. Attempts to pop and return the object at the top of the . true if an element was removed and returned from the top of the successfully; otherwise, false. When this method returns, if the operation was successful, contains the object removed. If no object was available to be removed, the value is unspecified. Attempts to pop and return multiple objects from the top of the atomically. The number of objects successfully popped from the top of the and inserted in . The to which objects popped from the top of the will be added. is a null argument (Nothing in Visual Basic). Attempts to pop and return multiple objects from the top of the atomically. The number of objects successfully popped from the top of the stack and inserted in . The to which objects popped from the top of the will be added. The zero-based offset in at which to begin inserting elements from the top of the . The number of elements to be popped from top of the and inserted into . is a null reference (Nothing in Visual Basic). or is negative. Or is greater than or equal to the length of . + is greater than the length of . Specifies options to control the buffering behavior of a partitioner Create a partitioner that takes items from the source enumerable one at a time and does not use intermediate storage that can be accessed more efficiently by multiple threads. This option provides support for low latency (items will be processed as soon as they are available from the source) and provides partial support for dependencies between items (a thread cannot deadlock waiting for an item that the thread itself is responsible for processing). Use the default behavior, which is to use buffering to achieve optimal performance. Defines methods to manipulate thread-safe collections intended for producer/consumer usage. This interface provides a unified representation for producer/consumer collections so that higher level abstractions such as can use the collection as the underlying storage mechanism. Specifies the type of elements in the collection. Copies the elements of the to an , starting at a specified index. The one-dimensional that is the destination of the elements copied from the . The array must have zero-based indexing. The zero-based index in at which copying begins. is a null reference (Nothing in Visual Basic). is less than zero. is equal to or greater than the length of the -or- The number of elements in the collection is greater than the available space from to the end of the destination . Copies the elements contained in the to a new array. A new array containing the elements copied from the . Attempts to add an object to the . true if the object was added successfully; otherwise, false. The object to add to the . The was invalid for this collection. Attempts to remove and return an object from the . true if an object was removed and returned successfully; otherwise, false. When this method returns, if the object was removed and returned successfully, contains the removed object. If no object was available to be removed, the value is unspecified. Represents a particular manner of splitting an orderable data source into multiple partitions. Type of the elements in the collection. Called from constructors in derived classes to initialize the class with the specified constraints on the index keys. Indicates whether the elements in each partition are yielded in the order of increasing keys. Indicates whether elements in an earlier partition always come before elements in a later partition. If true, each element in partition 0 has a smaller order key than any element in partition 1, each element in partition 1 has a smaller order key than any element in partition 2, and so on. Indicates whether keys are normalized. If true, all order keys are distinct integers in the range [0 .. numberOfElements-1]. If false, order keys must still be distinct, but only their relative order is considered, not their absolute values. Creates an object that can partition the underlying collection into a variable number of partitions. An object that can create partitions over the underlying data source. Dynamic partitioning is not supported by the base class. It must be implemented in derived classes. Creates an object that can partition the underlying collection into a variable number of partitions. An object that can create partitions over the underlying data source. Dynamic partitioning is not supported by this partitioner. Partitions the underlying collection into the specified number of orderable partitions. A list containing enumerators. The number of partitions to create. Partitions the underlying collection into the given number of ordered partitions. A list containing enumerators. The number of partitions to create. Gets whether order keys are normalized. true if the keys are normalized; otherwise false. Gets whether elements in an earlier partition always come before elements in a later partition. true if the elements in an earlier partition always come before elements in a later partition; otherwise false. Gets whether elements in each partition are yielded in the order of increasing keys. true if the elements in each partition are yielded in the order of increasing keys; otherwise false. Provides common partitioning strategies for arrays, lists, and enumerables. Creates an orderable partitioner from a instance. An orderable partitioner based on the input array. The enumerable to be partitioned. Type of the elements in source enumerable. Creates an orderable partitioner from a instance. An orderable partitioner based on the input array. The enumerable to be partitioned. Options to control the buffering behavior of the partitioner. Type of the elements in source enumerable. The argument specifies an invalid value for . Creates an orderable partitioner from an instance. An orderable partitioner based on the input list. The list to be partitioned. A Boolean value that indicates whether the created partitioner should dynamically load balance between partitions rather than statically partition. Type of the elements in source list. Creates a partitioner that chunks the user-specified range. A partitioner. The lower, inclusive bound of the range. The upper, exclusive bound of the range. The argument is less than or equal to the argument. Creates a partitioner that chunks the user-specified range. A partitioner. The lower, inclusive bound of the range. The upper, exclusive bound of the range. The size of each subrange. The argument is less than or equal to the argument.-or-The argument is less than or equal to 0. Creates a partitioner that chunks the user-specified range. A partitioner. The lower, inclusive bound of the range. The upper, exclusive bound of the range. The argument is less than or equal to the argument. Creates a partitioner that chunks the user-specified range. A partitioner. The lower, inclusive bound of the range. The upper, exclusive bound of the range. The size of each subrange. The argument is less than or equal to the argument.-or-The argument is less than or equal to 0. Creates an orderable partitioner from a instance. An orderable partitioner based on the input array. The array to be partitioned. A Boolean value that indicates whether the created partitioner should dynamically load balance between partitions rather than statically partition. Type of the elements in source array. Represents a particular manner of splitting a data source into multiple partitions. Type of the elements in the collection. Creates a new partitioner instance. Creates an object that can partition the underlying collection into a variable number of partitions. An object that can create partitions over the underlying data source. Dynamic partitioning is not supported by the base class. You must implement it in a derived class. Partitions the underlying collection into the given number of partitions. A list containing enumerators. The number of partitions to create. Gets whether additional partitions can be created dynamically. true if the can create partitions dynamically as they are requested; false if the can only allocate partitions statically.