Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Data Namespace / OperationMetric Class
Members

OperationMetric Class
Record an event metric for a single execution of a data operation
Syntax
'Declaration
 
Public Class OperationMetric 
 
Remarks
This class is optimized to be used in a using statement. It will automatically time the duration of the command and record an event metric when disposed. It will also record trace messages for the start and end of each command so that it is unnecessary to add redundant trace messages in your method invocation to denote the boundaries of a command. If not explicitly Dispose'd (automatically done for you by a using statement) the metric will not be generated.
Inheritance Hierarchy

System.Object
   Gibraltar.Data.OperationMetric

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