PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­Configuration­ManagerStop­Auto­Reload­Configuration­Async
Open sandboxFocus

LoggingConfigurationManager.StopAutoReloadConfigurationAsync Method

StopAutoReloadConfigurationAsync(LoggingBackend)

Stops all auto-refresh configuration set up by ConfigureFromXmlWithAutoReloadAsync(LoggingBackend, Uri, TimeSpan, CancellationToken) and waits until all pending operations have completed.

Declaration
public static Task StopAutoReloadConfigurationAsync([Required] this LoggingBackend backend)
Parameters
Type Name Description
LoggingBackend backend

The backend for which auto-refreshed configuration must be stopped.

Returns
Type Description
System.Threading.Tasks.Task