public void CommandFailedHandler(object sender, CommandFailedEventArgs e)
 {
     commandFailedArgs = e;
 }
		public void CommandFailed(object sender, CommandFailedEventArgs e)
		{
			if (PerformanceCountersEnabled) commandFailedCounter.Increment();
			if (WmiEnabled) FireManagementInstrumentation(new CommandFailedEvent(instanceName, e.ConnectionString, e.CommandText, e.Exception.ToString()));
		}