Loupe - Log - Monitor - Resolve
Gibraltar.Data Namespace / OperationMetric Class / OperationMetric Constructor / OperationMetric Constructor(String,String,String,String)
The category to use for the metric
The name of the operation for tracking purposes
A trace message to add at the start of the operation.
A trace message to add at the end of the operation.

In This Topic
    OperationMetric Constructor(String,String,String,String)
    In This Topic
    Create a new operation metric monitoring object to record a single operation.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal category As String, _
       ByVal operationName As String, _
       ByVal startMessage As String, _
       ByVal endMessage As String _
    )

    Parameters

    category
    The category to use for the metric
    operationName
    The name of the operation for tracking purposes
    startMessage
    A trace message to add at the start of the operation.
    endMessage
    A trace message to add at the end of the operation.
    Remarks
    All event metrics are recorded under the same metric counter in Gibraltar.Data called Repository Operation.
    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