Class SubscriberExceptionReceiverExtensions
subscriber exception receiver extensions
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.Messaging.Remote.Core.dll
Syntax
public static class SubscriberExceptionReceiverExtensions
Methods
AddSubscriberExceptionReceiver<TReceiver>(IServiceCollection)
register a custom exception receiver for receiving event subscriber exceptions.
Declaration
public static IServiceCollection AddSubscriberExceptionReceiver<TReceiver>(this IServiceCollection services) where TReceiver : SubscriberExceptionReceiver
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services |
Returns
Type | Description |
---|---|
IServiceCollection |
Type Parameters
Name | Description |
---|---|
TReceiver | the implementation type of the receiver |