IsolatedStorage.InitStore 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用網域或應用程式證據初始化新 IsolatedStorage 物件。
多載
| 名稱 | Description |
|---|---|
| InitStore(IsolatedStorageScope, Type, Type) |
初始化一個新 IsolatedStorage 物件。 |
| InitStore(IsolatedStorageScope, Type) |
初始化一個新 IsolatedStorage 物件。 |
InitStore(IsolatedStorageScope, Type, Type)
初始化一個新 IsolatedStorage 物件。
protected:
void InitStore(System::IO::IsolatedStorage::IsolatedStorageScope scope, Type ^ domainEvidenceType, Type ^ assemblyEvidenceType);
protected void InitStore(System.IO.IsolatedStorage.IsolatedStorageScope scope, Type? domainEvidenceType, Type? assemblyEvidenceType);
protected void InitStore(System.IO.IsolatedStorage.IsolatedStorageScope scope, Type domainEvidenceType, Type assemblyEvidenceType);
member this.InitStore : System.IO.IsolatedStorage.IsolatedStorageScope * Type * Type -> unit
Protected Sub InitStore (scope As IsolatedStorageScope, domainEvidenceType As Type, assemblyEvidenceType As Type)
參數
- scope
- IsolatedStorageScope
這是數值的位元組合 IsolatedStorageScope 。
- domainEvidenceType
- Type
你可以從呼叫應用程式領域中現有的清單Evidence中選擇 的Evidence類型。
null 讓 IsolatedStorage 物品選擇證據。
- assemblyEvidenceType
- Type
Evidence你可以從Evidence列表中選擇,該清單中存在的應用程式組合。
null 讓 IsolatedStorage 物品選擇證據。
例外狀況
指定的組件權限不足以建立隔離儲存。
備註
衍生類別會使用此方法來初始化新物件。
適用於
InitStore(IsolatedStorageScope, Type)
初始化一個新 IsolatedStorage 物件。
protected:
void InitStore(System::IO::IsolatedStorage::IsolatedStorageScope scope, Type ^ appEvidenceType);
protected void InitStore(System.IO.IsolatedStorage.IsolatedStorageScope scope, Type appEvidenceType);
member this.InitStore : System.IO.IsolatedStorage.IsolatedStorageScope * Type -> unit
Protected Sub InitStore (scope As IsolatedStorageScope, appEvidenceType As Type)
參數
- scope
- IsolatedStorageScope
這是數值的位元組合 IsolatedStorageScope 。
- appEvidenceType
- Type
你可以從通話申請清單Evidence中選擇的類型Evidence。
null 讓 IsolatedStorage 物品選擇證據。
例外狀況
指定的組件權限不足以建立隔離儲存。
備註
衍生類別會使用此方法來初始化新物件。