AuthenticationServiceManager.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 該屬性未被設定,則回傳值為 String.Empty。 在這種情況下,ASP.NET 中的 AJAX 功能將使用內建的認證網路服務,對應以下內部預設路徑:~/ScriptServices_AuthenticationService.asmx。 如果你設定 Path 為空值或 null,也會發生同樣的行為。
Path 可以在控制項 ScriptManager 或相關的 ScriptManagerProxy 控制項中指定。 當 Path 設定在該 ScriptManagerProxy 層級時,需注意以下注意事項: