Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Metrics Namespace / SampledMetric Class / Write Method / Write(Object) Method
The object to retrieve both metric values and definition from

In This Topic
    Write(Object) Method
    In This Topic
    Write sampled metric samples for all sampled metrics defined on the provided data object by attributes.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Write( _
       ByVal metricData As Object _
    ) 
    public static void Write( 
       object metricData
    )

    Parameters

    metricData
    The object to retrieve both metric values and definition from
    Remarks
    The provided user data object must be assignable to the bound type which defined this sampled metric via attributes.
    Example
    For examples, see the Sampled Metric class overview.
    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