public void AddExceptionInformation(MessageFormat messageFormat, Exception excepcion) { var error = (ExcepcionReglaNegocio)excepcion; messageFormat.AddExtraInformation("Tipo", "Error de prueba"); messageFormat.AddExtraInformation("Cantidad de errores", "8"); messageFormat.AddExtraInformation("Duracion", "48"); messageFormat.AddExtraInformation("Codigo", error.Codigo); messageFormat.AddExtraInformation("Mensajes", error.Message); }