共用方式為


HostingEnvironment.InitializationException 屬性

定義

取得 HostingEnvironment 物件初始設定期間擲回的例外狀況。

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

屬性值

HostingEnvironment 物件初始設定期間擲回的例外狀況。 如果未擲回例外狀況,則會傳回 null

適用於