Name

HttpConfigurationContext

Synopsis

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 ReadOnly Property VirtualPath As String  
End Class

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.