Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / ThreadInfoCollection Class
Properties Methods


In This Topic
    ThreadInfoCollection Class Members
    In This Topic

    The following tables list the members exposed by ThreadInfoCollection.

    Public Constructors
     NameDescription
    Public ConstructorCreate a new empty ThreadInfoCollection.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the number of ThreadInfo items in the ThreadInfoCollection.  
    Public PropertyGets a value indicating whether the ThreadInfoCollection is read-only.  
    Public PropertyOverloaded. 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.)  
    Public PropertyGets the maximum ThreadIndex value ever added to the ThreadInfoCollection.  
    Top
    Public Methods
     NameDescription
    Public MethodAdds an item to the ThreadInfoCollection.  
    Public MethodClear the ThreadInfoCollection.  
    Public MethodDetermines whether a given ThreadInfo item is already present in the ThreadInfoCollection.  
    Public MethodOverloaded. Determines whether the ThreadInfoCollection contains a ThreadInfo with a specified Guid ID.  
    Public MethodCopy the collected ThreadInfo objects to a target array, in sorted order.  
    Public MethodReturns an enumerator that iterates through the ThreadInfoCollection (in sorted order).  
    Public MethodDetermines the index of a specific ThreadInfo in the ThreadInfoCollection (in sorted order).  
    Public MethodThreadInfoCollection is sorted and does not support direct modification.  
    Public MethodRemoves a specified ThreadInfo item from the ThreadInfoCollection.  
    Public MethodRemove the ThreadInfo item found at a specified index in the ThreadInfoCollection (in sorted order). (Supported but not recommended.)  
    Public MethodOverloaded. Removes any ThreadInfo item with the specified Guid ID from the ThreadInfoCollection.  
    Public MethodGet the ThreadInfo with a specified ThreadId. (Finds earliest match, but ThreadId may not be unique! Use Guid if possible.)  
    Public MethodOverloaded. Get the ThreadInfo with a specified Guid ID.  
    Public MethodScan the set of ThreadInfo in the collection and assign ThreadInstance numbers to ThreadName collisions.  
    Top
    See Also