HostingEnvironment.InitializationException Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets any exception thrown during initialization of the HostingEnvironment object.

Namespace:   System.Web.Hosting
Assembly:  System.Web (in System.Web.dll)

public static Exception InitializationException { get; }

Property Value

Type: System.Exception

The exception thrown during initialization of the HostingEnvironment object. If no exception was thrown, returns null.

.NET Framework
Available since 2.0
Return to top
Show: