DotMSN |

# PersistentStream Methods

The methods of the PersistentStream class are listed below. For a complete list of PersistentStream class members, see the PersistentStream Members topic.

#### Public Instance Methods

BeginRead |
BeginWrite |
Close | Decreases the number of users using this stream with 1. If the number of users is below 0 the stream will really be closed.
CreateObjRef |
Dispose (inherited from Stream) | Overloaded. Releases all resources used by the Stream.
EndRead |
EndWrite |
Equals |
Flush |
GetHashCode |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) | Gets the Type of the current instance.
InitializeLifetimeService |
Open | Increases the number of users using this stream with 1.
Read |
ReadByte |
Seek |
SetLength |
ToString |
Write |
WriteByte |

#### Protected Instance Methods

CreateWaitHandle (inherited from Stream) | Obsolete. Allocates a WaitHandle object.
Dispose (inherited from Stream) | Overloaded. Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from MarshalByRefObject) | Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object) | Overloaded. Creates a shallow copy of the current Object.

#### See Also

PersistentStream Class | XihSolutions.DotMSN.DataTransfer Namespace