Redigeeri

Jagamisviis:


IsolatedStorage Class

Definition

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

public ref class IsolatedStorage abstract : MarshalByRefObject
public abstract class IsolatedStorage : MarshalByRefObject
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class IsolatedStorage : MarshalByRefObject
type IsolatedStorage = class
    inherit MarshalByRefObject
[<System.Runtime.InteropServices.ComVisible(true)>]
type IsolatedStorage = class
    inherit MarshalByRefObject
Public MustInherit Class IsolatedStorage
Inherits MarshalByRefObject
Inheritance
IsolatedStorage
Derived
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 Validate All Inputs.

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()

Initializes a new instance of the IsolatedStorage class.

Properties

ApplicationIdentity

Gets an application identity that scopes isolated storage.

AssemblyIdentity

Gets an assembly identity used to scope isolated storage.

AvailableFreeSpace

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

CurrentSize
Obsolete.
Obsolete.

Gets a value representing the current size of isolated storage.

DomainIdentity

Gets a domain identity that scopes isolated storage.

MaximumSize
Obsolete.
Obsolete.

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

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

Scope

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

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

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

UsedSize

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

Methods

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)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService()
Obsolete.

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

(Inherited from MarshalByRefObject)
GetPermission(PermissionSet)

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

GetType()

Gets the Type of the current instance.

(Inherited from Object)
IncreaseQuotaTo(Int64)

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

InitializeLifetimeService()
Obsolete.

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

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

Initializes a new IsolatedStorage object.

InitStore(IsolatedStorageScope, Type)

Initializes a new IsolatedStorage object.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
Remove()

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also