3 references to InstanceNameMaxLength
System (3)
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (2)
1565if (instanceName.Length > SharedPerformanceCounter.InstanceNameMaxLength) 1566instanceName = instanceName.Substring(0, SharedPerformanceCounter.InstanceNameMaxLength);
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (1)
106if (instanceName != null && instanceName.Length > InstanceNameMaxLength)