Méthode | Description | |
---|---|---|
CreateAndValidateCounter ( string perfCounterName, IEnumerable |
Validates the counter by parsing.
|
|
FormatPerformanceCounter ( |
Formats a counter into a readable string.
|
|
FormatPerformanceCounter ( string categoryName, string counterName, string instanceName ) : string |
Formats a counter into a readable string.
|
|
InvalidatePlaceholderCache ( ) : void |
Invalidates placeholder cache.
|
|
IsWebAppRunningInAzure ( ) : bool |
Searches for the environment variable specific to Azure web applications and confirms if the current application is a web application or not.
|
|
MatchInstancePlaceholder ( string instanceName ) : |
Matches an instance name against the placeholder regex.
|
|
ParsePerformanceCounter ( string performanceCounter, IEnumerable |
Parses a performance counter canonical string into a PerformanceCounter object. This method also performs placeholder expansion. |
|
ParsePerformanceCounter ( string performanceCounter, IEnumerable |
Parses a performance counter canonical string into a PerformanceCounter object. This method also performs placeholder expansion. |
|
SDKVersionPrefix ( ) : string |
Differentiates the SDK version prefix for azure web applications with standard applications.
|
Méthode | Description | |
---|---|---|
ExpandInstanceName ( string instanceName, IEnumerable |
||
FindProcessInstance ( int pid, IEnumerable |
||
GetClrProcessInstances ( ) : IList |
||
GetInstanceForClrProcess ( IEnumerable |
||
GetInstanceForCurrentW3SvcWorker ( ) : string | ||
GetInstanceForWin32Process ( IEnumerable |
||
GetInstanceFromApplicationDomain ( string domainFriendlyName ) : string | ||
GetInstances ( string categoryName ) : IList |
||
GetWin32ProcessInstances ( ) : IList |
public static CreateAndValidateCounter ( string perfCounterName, IEnumerable |
||
perfCounterName | string | Performance counter name to validate. |
win32Instances | IEnumerable |
Windows 32 instances. |
clrInstances | IEnumerable |
CLR instances. |
usesInstanceNamePlaceholder | bool | Boolean to check if it is using an instance name place holder. |
error | string | Error message. |
Résultat |
public static FormatPerformanceCounter ( |
||
pc | ||
Résultat | string |
public static FormatPerformanceCounter ( string categoryName, string counterName, string instanceName ) : string | ||
categoryName | string | |
counterName | string | |
instanceName | string | |
Résultat | string |
public static InvalidatePlaceholderCache ( ) : void | ||
Résultat | void |
public static IsWebAppRunningInAzure ( ) : bool | ||
Résultat | bool |
public static MatchInstancePlaceholder ( string instanceName ) : |
||
instanceName | string | Instance name to match. |
Résultat |
public static ParsePerformanceCounter ( string performanceCounter, IEnumerable |
||
performanceCounter | string | |
win32Instances | IEnumerable |
|
clrInstances | IEnumerable |
|
Résultat |
public static ParsePerformanceCounter ( string performanceCounter, IEnumerable |
||
performanceCounter | string | |
win32Instances | IEnumerable |
|
clrInstances | IEnumerable |
|
usesInstanceNamePlaceholder | bool | |
Résultat |
public static SDKVersionPrefix ( ) : string | ||
Résultat | string |