IPerformanceCounterNameFormatter.CreateName Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Creates the formatted instance name for a performance counter, providing the prefix for the instance.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
FunctionCreateName ( _
    nameSuffixAs String _
) As String
string CreateName(
    string nameSuffix
)
String^ CreateName(
    String^ nameSuffix
)
functionCreateName(
    nameSuffix : String
) : String

Parameters

  • nameSuffix
    Type: System.String
    Performance counter name, as defined during installation of the counter

Return Value

Formatted instance name in form of "prefix - nameSuffix"

See Also

IPerformanceCounterNameFormatter Interface

Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.