C# Class NServiceBus.ConfigureCriticalErrorAction

Show file Open project: Particular/NServiceBus

Public Methods

Method Description
DefineCriticalErrorAction ( this endpointConfiguration, Task>.Func onCriticalError ) : void

Sets the function to be used when critical error occurs.

Method Details

DefineCriticalErrorAction() public static method

Sets the function to be used when critical error occurs.
public static DefineCriticalErrorAction ( this endpointConfiguration, Task>.Func onCriticalError ) : void
endpointConfiguration this The to extend.
onCriticalError Task>.Func Assigns the action to perform on critical error.
return void