Edit

Share via


IsolatedStorage.InitStore Method

Definition

Initializes a new IsolatedStorage object using either domain or application evidence.

Overloads

InitStore(IsolatedStorageScope, Type, Type)

Initializes a new IsolatedStorage object.

InitStore(IsolatedStorageScope, Type)

Initializes a new IsolatedStorage object.

InitStore(IsolatedStorageScope, Type, Type)

Source:
IsolatedStorage.cs
Source:
IsolatedStorage.cs
Source:
IsolatedStorage.cs

Initializes a new IsolatedStorage object.

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)

Parameters

scope
IsolatedStorageScope

A bitwise combination of the IsolatedStorageScope values.

domainEvidenceType
Type

The type of Evidence that you can choose from the list of Evidence present in the domain of the calling application. null lets the IsolatedStorage object choose the evidence.

assemblyEvidenceType
Type

The type of Evidence that you can choose from the list of Evidence present in the assembly of the calling application. null lets the IsolatedStorage object choose the evidence.

Exceptions

The assembly specified has insufficient permissions to create isolated stores.

Remarks

Derived classes use this method to initialize a new object.

Applies to

InitStore(IsolatedStorageScope, Type)

Source:
IsolatedStorage.cs
Source:
IsolatedStorage.cs
Source:
IsolatedStorage.cs

Initializes a new IsolatedStorage object.

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)

Parameters

scope
IsolatedStorageScope

A bitwise combination of the IsolatedStorageScope values.

appEvidenceType
Type

The type of Evidence that you can choose from the list of Evidence for the calling application. null lets the IsolatedStorage object choose the evidence.

Exceptions

The assembly specified has insufficient permissions to create isolated stores.

Remarks

Derived classes use this method to initialize a new object.

Applies to