HostingEnvironment.InitializationException Property

Definition

Gets any exception thrown during initialization of the HostingEnvironment object.

public:
 static property Exception ^ InitializationException { Exception ^ get(); };
public static Exception InitializationException { get; }
static member InitializationException : Exception
Public Shared ReadOnly Property InitializationException As Exception

Property Value

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

Applies to