Skip to content

Commit

Permalink
Updated the XML comment to be more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Storie authored and TravisTheTechie committed Aug 19, 2016
1 parent 270e1b2 commit 7f1bd58
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@ public interface HostConfigurator
void AddCommandLineDefinition(string name, Action<string> callback);

/// <summary>
/// Adds custom exception handler that will be called for any exception caught
/// by Topshelf while a service is starting, running or stopping.
/// Specifies a callback to be run when Topshelf encounters an exception while starting, running
/// or stopping. This callback does not replace Topshelf's default handling of any exceptions, and
/// is intended to allow for local cleanup, logging, etc. This is not required, and is only invoked
/// if a callback is provided.
/// </summary>
/// <param name="callback"></param>
/// <param name="callback">The action to run when an exception occurs.</param>
void OnException(Action<Exception> callback);
}
}

0 comments on commit 7f1bd58

Please sign in to comment.