Class ExceptionNotifier
Inheritance
object
ExceptionNotifier
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.ExceptionHandling
Assembly: Volo.Abp.Core.dll
Syntax
public class ExceptionNotifier : IExceptionNotifier, ITransientDependency
Constructors
ExceptionNotifier(IServiceScopeFactory)
Declaration
public ExceptionNotifier(IServiceScopeFactory serviceScopeFactory)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceScopeFactory | serviceScopeFactory |
Properties
Logger
Declaration
public ILogger<ExceptionNotifier> Logger { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.ILogger<TCategoryName><ExceptionNotifier> |
ServiceScopeFactory
Declaration
protected IServiceScopeFactory ServiceScopeFactory { get; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.DependencyInjection.IServiceScopeFactory |
Methods
NotifyAsync(ExceptionNotificationContext)
Declaration
public virtual Task NotifyAsync(ExceptionNotificationContext context)
Parameters
Type | Name | Description |
---|---|---|
ExceptionNotificationContext | context |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |