Click or drag to resize
NLogISuppressSwallowAsync Method
Overload List
  NameDescription
Public methodSwallowAsyncT(FuncTaskT)
Runs the provided async function and returns its result. If exception is thrown, it is logged at Error level. Exception is not propagated outside of this method. Fallback value is returned instead.
Public methodSwallowAsync(FuncTask)
Runs async action. If the action throws, the exception is logged at Error level. Exception is not propagated outside of this method.
Public methodSwallowAsyncT(FuncTaskT, T)
Runs the provided async function and returns its result. If exception is thrown, it is logged at Error level. Exception is not propagated outside of this method. Fallback value is returned instead.
Top
See Also