Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / SampledMetricDivisorAttribute Class
Members

In This Topic
    SampledMetricDivisorAttribute Class
    In This Topic
    Designate a field, property, or method to provide the divisor for a specified sampled metric counter.
    Syntax
    'Declaration
     
    
    <AttributeUsageAttribute(AttributeTargets.Field Or  _
        AttributeTargets.Method Or  _
        AttributeTargets.Property, 
       AllowMultiple=True, 
       Inherited=False)>
    <SerializableAttribute()>
    Public NotInheritable Class SampledMetricDivisorAttribute 
       Inherits System.Attribute
    [AttributeUsage(AttributeTargets.Field | 
        AttributeTargets.Method | 
        AttributeTargets.Property, 
       AllowMultiple=true, 
       Inherited=false)]
    [Serializable()]
    public sealed class SampledMetricDivisorAttribute : System.Attribute 
    Remarks
    The current object must also have the SampledMetric attribute defined, and must have a SampledMetricValue attribute defined for the same counter name as this attribute and defining a sampling type requiring a divisor, or this attribute is not meaningful. This attribute may be defined multiple times (even on the same member), but only one SampledMetricDivisor attribute may be defined for the same sampled metric counter in the object.
    Inheritance Hierarchy

    System.Object
       System.Attribute
          Gibraltar.Agent.Metrics.SampledMetricDivisorAttribute

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also