HostingEnvironment.InitializationException Property

 

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: