NServiceBus.ConfigureError.SendFailedMessagesTo C# (CSharp) Method

SendFailedMessagesTo() public static method

Configure error queue settings.
public static SendFailedMessagesTo ( this config, string errorQueue ) : void
config this The instance to apply the settings to.
errorQueue string The name of the error queue to use.
return void
        public static void SendFailedMessagesTo(this EndpointConfiguration config, string errorQueue)
        {
            Guard.AgainstNull(nameof(config), config);
            Guard.AgainstNullAndEmpty(nameof(errorQueue), errorQueue);
            config.Settings.Set("errorQueue", errorQueue);
        }
    }
ConfigureError