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


In This Topic
    MetricSampleCollection Class Members
    In This Topic

    The following tables list the members exposed by MetricSampleCollection.

    Public Constructors
     NameDescription
    Public ConstructorCreate a new sample collection for the specified metric object  
    Top
    Public Properties
     NameDescription
    Public PropertyThe number of items currently in the collection  
    Public PropertyThe first object in the collection  
    Public PropertyIndicates if the collection is read only and therefore can't have items added or removed.  
    Public PropertySelect a metric sample by its numerical index  
    Public PropertyThe last object in the collection  
    Public PropertyThe metric this collection of samples is related to  
    Top
    Public Methods
     NameDescription
    Public MethodAdd the specified MetricSample item to the collection  
    Public MethodRemove all elements from the collection.  
    Public MethodDetermines whether an element is in the collection.  
    Public MethodDetermines whether the collection contains an element with the specified key.  
    Public MethodCopies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.  
    Public MethodRetrieves the numerical index of the specified item in the collection or -1 if not found.  
    Public MethodNot supported.  
    Public MethodRemove the specified MetricSample item. If the MetricSample isn't in the collection, no exception is thrown.  
    Public MethodRemove a sample at a specific numerical index.  
    Public MethodCopy the entire collection of metric samples into a new array.  
    Top
    Protected Methods
     NameDescription
    Protected MethodThis method is called every time a collection change event occurs to allow inheritors to override the change event.  
    Top
    Public Events
     NameDescription
    Public EventRaised every time the collection's contents are changed to allow subscribers to automatically track changes.  
    Top
    See Also