ProfileServiceManager.Path 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定自訂網路服務實作的路徑。
public:
property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public string Path { get; set; }
member this.Path : string with get, set
Public Property Path As String
屬性值
自訂實作的網路服務路徑。
例外狀況
控制階層中設定了多條獨特路徑。
備註
允許使用相對虛擬路徑、絕對虛擬路徑及完全限定路徑。
若未設定屬性 Path ,則回傳值為 Empty。 在這種情況下,ASP.NET 的 AJAX 功能將使用內建的 Web 服務設定檔,對應以下內部預設路徑:~/ScriptServices_ProfileService.asmx。 同樣的行為也發生在你 Path 設定為空值或 null時。
Path 可以在控制項 ScriptManager 或相關的 ScriptManagerProxy 控制項中指定。 當 Path 設定在該 ScriptManagerProxy 層級時,需注意以下注意事項: