예제 #1
0
 public void SecurityCacheReadPerformed(object sender, SecurityCacheOperationEventArgs e)
 {
     if (PerformanceCountersEnabled)
     {
         securityCacheReadPerformedCounter.Increment();
     }
     if (WmiEnabled)
     {
         FireManagementInstrumentation(new SecurityCacheReadPerformedEvent(instanceName, e.ItemType.ToString(), (e.Token == null) ? string.Empty : e.Token.Value));
     }
 }
		public void SecurityCacheReadPerformed(object sender, SecurityCacheOperationEventArgs e)
		{
			if (PerformanceCountersEnabled) securityCacheReadPerformedCounter.Increment();
            if (WmiEnabled) FireManagementInstrumentation(new SecurityCacheReadPerformedEvent(instanceName, e.ItemType.ToString(), ( e.Token == null) ? string.Empty : e.Token.Value));
		}