This documentation is archived and is not being maintained.

IsolatedStorageFileStream Members

IsolatedStorageFileStream overview

Public Constructors

public constructorIsolatedStorageFileStream Constructor Overloaded. Initializes a new instance of the IsolatedStorageFileStream class. The only way to open an IsolatedStorageFileStream is by one of its constructors.

Public Properties

public propertyCanRead Overridden. Gets a Boolean value indicating whether the file can be read.
public propertyCanSeek Overridden. Gets a Boolean value indicating whether seek operations are supported.
public propertyCanWrite Overridden. Gets a Boolean value indicating whether you can write to the file.
public propertyHandle Overridden. Gets the file handle for the file that the current IsolatedStorageFileStream object encapsulates. Accessing this property is not permitted on an IsolatedStorageFileStream, and throws an IsolatedStorageException.
public propertyIsAsync Overridden. Gets a Boolean value indicating whether the IsolatedStorageFileStream was opened asynchronously or synchronously.
public propertyLength Overridden. Gets the length of the IsolatedStorageFileStream.
public propertyName (inherited from FileStream) Gets the name of the FileStream that was passed to the constructor.
public propertyPosition Overridden. Gets or sets the current position of this IsolatedStorageFileStream to the specified value.

Public Methods

public methodBeginRead Overridden. Begins an asynchronous read.
public methodBeginWrite Overridden. Begins an asynchronous write.
public methodClose Overridden. Releases resources associated with the IsolatedStorageFileStream.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEndRead Overridden. Ends a pending asynchronous read request.
public methodEndWrite Overridden. Ends an asynchronous write.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodFlush Overridden. Updates the file with the current state of the buffer then clears the buffer.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodLock (inherited from FileStream) Prevents other processes from changing the FileStream while permitting read access.
public methodRead Overridden. Copies bytes from the current buffered IsolatedStorageFileStream to an array.
public methodReadByte Overridden. Reads a single byte from the IsolatedStorageFileStream in isolated storage.
public methodSeek Overridden. Sets the current position of this IsolatedStorageFileStream to the specified value.
public methodSetLength Overridden. Sets the length of this IsolatedStorageFileStream to the specified value.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodUnlock (inherited from FileStream) Allows access by other processes to all or part of a file that was previously locked.
public methodWrite Overridden. Writes a block of bytes to the IsolatedStorageFileStream using data read from a byte array.
public methodWriteByte Overridden. Writes a single byte to the IsolatedStorageFileStream.

Protected Methods

protected methodCreateWaitHandle (inherited from Stream) Allocates a WaitHandle object.
protected methodDispose Overridden. Releases resources associated with the IsolatedStorageFileStream.
protected methodFinalize (inherited from FileStream) Overridden. Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the FileStream.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

IsolatedStorageFileStream Class | System.IO.IsolatedStorage Namespace

Show: