AppDomainNameFormatter.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 Application Domain friendly name for the prefix for the instance.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)
Syntax
'Declaration
PublicFunctionCreateName ( _
nameSuffixAs String _
) As String
public string CreateName(
string nameSuffix
)
public:
virtual String^ CreateName(
String^ nameSuffix
) sealed
publicfinalfunctionCreateName(
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 "appDomainFriendlyName - nameSuffix"
Implements
IPerformanceCounterNameFormatter.CreateName(String)
See Also
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. |