IsolatedStorage IsolatedStorage IsolatedStorage IsolatedStorage Class

Definition

Represents the abstract base class from which all isolated storage implementations must derive.

public ref class IsolatedStorage abstract : MarshalByRefObject
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class IsolatedStorage : MarshalByRefObject
type IsolatedStorage = class
    inherit MarshalByRefObject
Public MustInherit Class IsolatedStorage
Inherits MarshalByRefObject
Inheritance
Attributes

Remarks

Important

Calling methods from this class with untrusted data is a security risk. Call the methods from this class only with trusted data. For more information, see Data Validation.

For information about file-based isolated storage, see the IsolatedStorageFile class.

Important

Isolated storage is not available for Windows 8.x Store apps. Instead, use the application data classes in the Windows.Storage namespaces included in the Windows Runtime API to store local data and files. For more information, see Application data in the Windows Dev Center.

Constructors

IsolatedStorage() IsolatedStorage() IsolatedStorage() IsolatedStorage()

Initializes a new instance of the IsolatedStorage class.

Properties

ApplicationIdentity ApplicationIdentity ApplicationIdentity ApplicationIdentity

Gets an application identity that scopes isolated storage.

AssemblyIdentity AssemblyIdentity AssemblyIdentity AssemblyIdentity

Gets an assembly identity used to scope isolated storage.

AvailableFreeSpace AvailableFreeSpace AvailableFreeSpace AvailableFreeSpace

When overridden in a derived class, gets the available free space for isolated storage, in bytes.

CurrentSize CurrentSize CurrentSize CurrentSize

Gets a value representing the current size of isolated storage.

DomainIdentity DomainIdentity DomainIdentity DomainIdentity

Gets a domain identity that scopes isolated storage.

MaximumSize MaximumSize MaximumSize MaximumSize

Gets a value representing the maximum amount of space available for isolated storage. When overridden in a derived class, this value can take different units of measure.

Quota Quota Quota Quota

When overridden in a derived class, gets a value that represents the maximum amount of space available for isolated storage.

Scope Scope Scope Scope

Gets an IsolatedStorageScope enumeration value specifying the scope used to isolate the store.

SeparatorExternal SeparatorExternal SeparatorExternal SeparatorExternal

Gets a backslash character that can be used in a directory string. When overridden in a derived class, another character might be returned.

SeparatorInternal SeparatorInternal SeparatorInternal SeparatorInternal

Gets a period character that can be used in a directory string. When overridden in a derived class, another character might be returned.

UsedSize UsedSize UsedSize UsedSize

When overridden in a derived class, gets a value that represents the amount of the space used for isolated storage.

Methods

CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetPermission(PermissionSet) GetPermission(PermissionSet) GetPermission(PermissionSet) GetPermission(PermissionSet)

When implemented by a derived class, returns a permission that represents access to isolated storage from within a permission set.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
IncreaseQuotaTo(Int64) IncreaseQuotaTo(Int64) IncreaseQuotaTo(Int64) IncreaseQuotaTo(Int64)

When overridden in a derived class, prompts a user to approve a larger quota size, in bytes, for isolated storage.

InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
InitStore(IsolatedStorageScope, Type) InitStore(IsolatedStorageScope, Type) InitStore(IsolatedStorageScope, Type) InitStore(IsolatedStorageScope, Type)

Initializes a new IsolatedStorage object.

InitStore(IsolatedStorageScope, Type, Type) InitStore(IsolatedStorageScope, Type, Type) InitStore(IsolatedStorageScope, Type, Type) InitStore(IsolatedStorageScope, Type, Type)

Initializes a new IsolatedStorage object.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
Remove() Remove() Remove() Remove()

When overridden in a derived class, removes the individual isolated store and all contained data.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also