Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsolatedStorageFileStream Members

IsolatedStorageFileStream Members

Exposes a file within isolated storage.

The following tables list the members exposed by the IsolatedStorageFileStream type.

  Name Description
Public method IsolatedStorageFileStream Overloaded. Initializes a new instance of the IsolatedStorageFileStream class. The only way to open an IsolatedStorageFileStream is by using one of its constructors.
Top

  Name Description
Public property CanRead Overridden. Gets a Boolean value indicating whether the file can be read.
Public property CanSeek Overridden. Gets a Boolean value indicating whether seek operations are supported.
Public property CanTimeout  Gets a value that determines whether the current stream can time out.(Inherited from Stream.)
Public property CanWrite Overridden. Gets a Boolean value indicating whether you can write to the file.
Public property Handle Overridden. Gets the file handle for the file that the current IsolatedStorageFileStream object encapsulates. Accessing this property is not permitted on an IsolatedStorageFileStream object, and throws an IsolatedStorageException.
Public property IsAsync Overridden. Gets a Boolean value indicating whether the IsolatedStorageFileStream object was opened asynchronously or synchronously.
Public property Length Overridden. Gets the length of the IsolatedStorageFileStream object.
Public property Name  Gets the name of the FileStream that was passed to the constructor.(Inherited from FileStream.)
Public property Position Overridden. Gets or sets the current position of the current IsolatedStorageFileStream object to the specified value.
Public property ReadTimeout  Gets or sets a value that determines how long the stream will attempt to read before timing out. (Inherited from Stream.)
Public property SafeFileHandle Overridden. Gets a SafeFileHandle object that represents the operating system file handle for the file that the current IsolatedStorageFileStream object encapsulates.
Public property WriteTimeout  Gets or sets a value that determines how long the stream will attempt to write before timing out. (Inherited from Stream.)
Top

(see also Protected Methods )
  Name Description
Public method BeginRead Overridden. Begins an asynchronous read.
Public method BeginWrite Overridden. Begins an asynchronous write.
Public method Close  Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (Inherited from Stream.)
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose Overloaded.  
Public method EndRead Overridden. Ends a pending asynchronous read request.
Public method EndWrite Overridden. Ends an asynchronous write.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Flush Overridden. Updates the file with the current state of the buffer then clears the buffer.
Public method GetAccessControl  Gets a FileSecurity object that encapsulates the access control list (ACL) entries for the file described by the current FileStream object. (Inherited from FileStream.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Lock  Prevents other processes from changing the FileStream while permitting read access. (Inherited from FileStream.)
Public method Read Overridden. Copies bytes from the current buffered IsolatedStorageFileStream object to an array.
Public method ReadByte Overridden. Reads a single byte from the IsolatedStorageFileStream object in isolated storage.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Seek Overridden. Sets the current position of this IsolatedStorageFileStream object to the specified value.
Public method SetAccessControl  Applies access control list (ACL) entries described by a FileSecurity object to the file described by the current FileStream object. (Inherited from FileStream.)
Public method SetLength Overridden. Sets the length of this IsolatedStorageFileStream object to the specified value.
Public method Static Synchronized  Creates a thread-safe (synchronized) wrapper around the specified Stream object. (Inherited from Stream.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Public method Unlock  Allows access by other processes to all or part of a file that was previously locked. (Inherited from FileStream.)
Public method Write Overridden. Writes a block of bytes to the IsolatedStorageFileStream object using data read from a byte array.
Public method WriteByte Overridden. Writes a single byte to the IsolatedStorageFileStream object.
Top

  Name Description
Protected method CreateWaitHandle  Allocates a WaitHandle object. (Inherited from Stream.)
Protected method Dispose Overloaded. Overridden.  
Protected method Finalize  Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the FileStream. (Inherited from FileStream.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft