Name | Description | |
---|---|---|
ThreadInfoCollection Constructor | Create a new empty ThreadInfoCollection. |
The following tables list the members exposed by ThreadInfoCollection.
Name | Description | |
---|---|---|
ThreadInfoCollection Constructor | Create a new empty ThreadInfoCollection. |
Name | Description | |
---|---|---|
Count | Gets the number of ThreadInfo items in the ThreadInfoCollection. | |
IsReadOnly | Gets a value indicating whether the ThreadInfoCollection is read-only. | |
Item | Overloaded. Gets a ThreadInfo item at a specified index (in the sorted order). (NOT BY ThreadId or ThreadIndex! Use TryGetValue to lookup by ThreadIndex or TryFindThreadId to lookup by ThreadId.) | |
MaxThreadIndex | Gets the maximum ThreadIndex value ever added to the ThreadInfoCollection. |
Name | Description | |
---|---|---|
Add | Adds an item to the ThreadInfoCollection. | |
Clear | Clear the ThreadInfoCollection. | |
Contains | Determines whether a given ThreadInfo item is already present in the ThreadInfoCollection. | |
ContainsKey | Overloaded. Determines whether the ThreadInfoCollection contains a ThreadInfo with a specified Guid ID. | |
CopyTo | Copy the collected ThreadInfo objects to a target array, in sorted order. | |
GetEnumerator | Returns an enumerator that iterates through the ThreadInfoCollection (in sorted order). | |
IndexOf | Determines the index of a specific ThreadInfo in the ThreadInfoCollection (in sorted order). | |
Insert | ThreadInfoCollection is sorted and does not support direct modification. | |
Remove | Removes a specified ThreadInfo item from the ThreadInfoCollection. | |
RemoveAt | Remove the ThreadInfo item found at a specified index in the ThreadInfoCollection (in sorted order). (Supported but not recommended.) | |
RemoveKey | Overloaded. Removes any ThreadInfo item with the specified Guid ID from the ThreadInfoCollection. | |
TryFindThreadId | Get the ThreadInfo with a specified ThreadId. (Finds earliest match, but ThreadId may not be unique! Use Guid if possible.) | |
TryGetValue | Overloaded. Get the ThreadInfo with a specified Guid ID. | |
UniquifyThreadNames | Scan the set of ThreadInfo in the collection and assign ThreadInstance numbers to ThreadName collisions. |