/// <summary>
 /// A generic error handler for exceptions that occur in the Ingres ASP.NET Role 
 /// provider.
 /// </summary>
 /// <param name="ex">The exception to handle.</param>
 /// <param name="method">The role provider method that caused the exception to be thrown.</param>
 internal static void HandleException(Exception ex, RoleProviderMethod method)
 {
     HandleException(ex, IngresAspNetProvider.Role, method);
 }
Exemple #2
0
 /// <summary>
 /// A generic error handler for exceptions that occur in the Ingres ASP.NET Role
 /// provider.
 /// </summary>
 /// <param name="ex">The exception to handle.</param>
 /// <param name="method">The role provider method that caused the exception to be thrown.</param>
 internal static void HandleException(Exception ex, RoleProviderMethod method)
 {
     HandleException(ex, IngresAspNetProvider.Role, method);
 }
 /// <summary>
 /// Log a rollback warning for a Role provider method.
 /// </summary>
 /// <param name="method">The method that we are logging a rollback warning for.</param>
 internal static void LogRollbackWarning(RoleProviderMethod method)
 {
     WriteEvent(Messages.ErrorRollingBackTransaction, EventLogEntryType.Warning, IngresAspNetProvider.Role);
 }
Exemple #4
0
 /// <summary>
 /// Log a rollback warning for a Role provider method.
 /// </summary>
 /// <param name="method">The method that we are logging a rollback warning for.</param>
 internal static void LogRollbackWarning(RoleProviderMethod method)
 {
     WriteEvent(Messages.ErrorRollingBackTransaction, EventLogEntryType.Warning, IngresAspNetProvider.Role);
 }