using System; using System.Web; using Exceptron.Client.Configuration; using Exceptron.Client.Message; namespace Exceptron.Client { public interface IExceptronClient { /// /// Client Configuration /// ExceptronConfiguration Configuration { get; } /// /// Submit an exception to exceptron Servers. /// /// Exception data to be reported to the server ExceptionResponse SubmitException(ExceptionData exceptionData); /// /// Submit an exception to exceptron Servers. /// /// Exception that is being reported /// Component that experienced this exception. /// Severity of the exception being reported /// Any message that should be attached to this exceptions /// ID that will uniquely identify the user /// in which the exception occurred. If no is provided /// will try to get the current from /// ExceptionResponse SubmitException(Exception exception, string component, ExceptionSeverity severity = ExceptionSeverity.None, string message = null, string userId = null, HttpContext httpContext = null); } }