This class supplies the current context information to configuration
section handlers in ASP.NET applications. The single
VirtualPath property provides the path to the
current web.config file that is evaluated,
unless it is the root web.config for the site or
the machine.config file is being evaluated
instead (in which case it will return an empty
string).
You don't need to use this class directly in your
code.
public class HttpConfigurationContext {
// Public Instance Properties
public string VirtualPath{get; }
}