IsolatedStorage.ApplicationIdentity 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得限定隔離儲存區 (Isolated Storage) 範圍的應用程式識別 (Identity)。
public:
property System::Object ^ ApplicationIdentity { System::Object ^ get(); };
public object ApplicationIdentity { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public object ApplicationIdentity { get; }
member this.ApplicationIdentity : obj
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.ApplicationIdentity : obj
Public ReadOnly Property ApplicationIdentity As Object
屬性值
表示 Object 識別的 Application。
- 屬性
例外狀況
程式碼缺少存取這個物件所需的 SecurityPermission。 這些使用權限是由 Runtime 根據安全性原則授與。
IsolatedStorage 物件不是由應用程式 IsolatedStorageScope 所隔離。
備註
由於應用程式的定義包含與應用程式相關聯的所有元件,因此您可以使用這種類型的身分識別來確保只有與應用程式相關聯的元件可以存取隔離儲存區。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應