'Declaration
<NullableContextAttribute(1)> <DefaultMemberAttribute("Item")> Public Interface IMetricDefinitionCollection
[NullableContext(1)] [DefaultMember("Item")] public interface IMetricDefinitionCollection
'Declaration
<NullableContextAttribute(1)> <DefaultMemberAttribute("Item")> Public Interface IMetricDefinitionCollection
[NullableContext(1)] [DefaultMember("Item")] public interface IMetricDefinitionCollection
A metric definition has a unique ID to identify a particular instance of the definition(associated with one session) and a name that is unique within a session but is designed for comparison of the same definition between sessions.
This class is sealed because it is owned by either the single static active Log class (for metric collection in the current process) or during replay is automatically created as part of base objects and there is no way to inject an alternative implementation.
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