WebPermissionAttribute.Connect 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定由電流 WebPermissionAttribute控制的 URI 連接字串。
public:
property System::String ^ Connect { System::String ^ get(); void set(System::String ^ value); };
public string Connect { get; set; }
member this.Connect : string with get, set
Public Property Connect As String
屬性值
包含 URI 連線的字串,由電流 WebPermissionAttribute控制。
例外狀況
Connect
null不是你嘗試設定價值的時候。 如果你想指定多個 Connect URI,請使用額外的屬性宣告語句。
備註
當應用 WebPermissionAttribute 到你的類別時,這個屬性會指定在你的類別中可接受使用的 URI 連線。 此性質為寫入一次。