Edit

Share via


HttpWorkerRequest.RootWebConfigPath Property

Definition

Gets the full physical path to the root Web.config file.

public:
 virtual property System::String ^ RootWebConfigPath { System::String ^ get(); };
public virtual string RootWebConfigPath { get; }
member this.RootWebConfigPath : string
Public Overridable ReadOnly Property RootWebConfigPath As String

Property Value

The physical path to the root Web.config file.

Remarks

If you are implementing your own hosting environment, you may to override this property to return the location of your environment's root configuration file. An example of this is the SimpleWorkerRequest class which provides a simple implementation of the HttpWorkerRequest. The SimpleWorkerRequest.RootWebConfigPath property of SimpleWorkerRequest class overrides the RootWebConfigPath property of HttpWorkerRequest class.

Applies to

See also