IAppDomainSetup.ConfigurationFile 屬性

定義

取得和設定應用程式定義域的組態檔名稱。

public:
 property System::String ^ ConfigurationFile { System::String ^ get(); void set(System::String ^ value); };
public string ConfigurationFile { get; set; }
member this.ConfigurationFile : string with get, set
Public Property ConfigurationFile As String

屬性值

指定組態檔名稱的 String

備註

組態檔描述應用程式域的搜尋規則和組態資料。 建立應用程式域的主機負責提供此資料,因為有意義的值會因情況而異。

例如,ASP.NET 應用程式的組態資料會針對每個應用程式、月臺和電腦儲存,而可執行檔的組態資料則儲存給每個應用程式、使用者和電腦。 只有主機知道特定情況的組態資料詳細資料。

完成第一個系結之後 AppDomain ,就無法變更這個屬性。

適用於