PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Configuration­Manager Class / Logging­Configuration­Manager Methods / Logging­Configuration­Manager.​Stop­Auto­Reload­Configuration­Async Method

LoggingConfigurationManager.StopAutoReloadConfigurationAsync Method

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

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics.Configuration (in PostSharp.Patterns.Diagnostics.Configuration.dll) Version: (
public static Task StopAutoReloadConfigurationAsync(
	this LoggingBackend backend


Type: PostSharp.Patterns.Diagnostics.LoggingBackend
The backend for which auto-refreshed configuration must be stopped.

Return Value

Type: Task

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type LoggingBackend. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also