IsolatedStorage.InitStore 方法

定義

使用定義域或應用程式辨識項來初始化新的 IsolatedStorage 物件。

多載

InitStore(IsolatedStorageScope, Type, Type)

初始化新的 IsolatedStorage 物件。

InitStore(IsolatedStorageScope, Type)

初始化新的 IsolatedStorage 物件。

InitStore(IsolatedStorageScope, Type, Type)

來源:
IsolatedStorage.cs
來源:
IsolatedStorage.cs
來源:
IsolatedStorage.cs

初始化新的 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.cs
來源:
IsolatedStorage.cs
來源:
IsolatedStorage.cs

初始化新的 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 物件選擇辨識項。

例外狀況

指定組件沒有足夠的使用權限建立隔離存放區。

備註

衍生類別會使用這個方法來初始化新的 物件。

適用於