PerfmonInstanceCounterFactoryCreateInstance Method (IAppContext, String, String) |
Creates a new instance of PerfmonInstanceCounters and loads it. If the cache metadata property is set
on the application object, then the object is loaded from the cache.
Namespace:
NetQuarry.Diagnostics
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static PerfmonInstanceCounters CreateInstance(
IAppContext appContext,
string objectType,
string objectName
)
Public Shared Function CreateInstance (
appContext As IAppContext,
objectType As String,
objectName As String
) As PerfmonInstanceCounters
Parameters
- appContext
- Type: NetQuarryIAppContext
The application context to use for the collection. - objectType
- Type: SystemString
The object type of the PerfmonInstanceCounter. - objectName
- Type: SystemString
The name of the object for the instance coutner name.
Return Value
Type:
PerfmonInstanceCountersPerfmonInstanceCounters for the given object
See Also