Ejemplo n.º 1
0
		protected bool OnTracing(TraceEntry entry)
		{
			try
			{
				TracingEventArgs args = new TracingEventArgs(entry);
				this.OnTracing(args);
				return args.Cancel;
			}
			catch(Exception ex)
			{
				this.OnFailed(new FailureEventArgs(ex, entry));
				return false;
			}
		}
Ejemplo n.º 2
0
		protected virtual void OnTracing(TracingEventArgs args)
		{
			if(this.Tracing != null)
				this.Tracing(this, args);
		}