[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Helper class for the Event System. Not to be publically used.

Namespace: Microsoft.WebSolutionsPlatform.Event
Assembly: PubSubMgr (PubSubMgr)

Syntax

Visual Basic (Declaration)
Public Class PrefixStream _
	Inherits Stream
C#
public class PrefixStream : Stream
C++
public ref class PrefixStream : public Stream

Methods

IconTypeDescription
BeginRead(Byte[](), Int32, Int32, AsyncCallback, Object)
Begins an asynchronous read operation.
BeginWrite(Byte[](), Int32, Int32, AsyncCallback, Object)
Begins an asynchronous write operation.
Close()
Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
CreateObjRef(Type)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
CreateWaitHandle()
Allocates a WaitHandle object.
Dispose()
Releases all resources used by the Stream.
Dispose(Boolean)
Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
EndRead(IAsyncResult)
Waits for the pending asynchronous read to complete.
EndWrite(IAsyncResult)
Ends an asynchronous write operation.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
Finalize()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
Flush()
Not implemented.
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.
GetLifetimeService()
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType()
Gets the Type of the current instance.
InitializeLifetimeService()
Obtains a lifetime service object to control the lifetime policy for this instance.
MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
Read(Byte[](), Int32, Int32)
Read a block of bytes from the stream.
ReadByte()
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
Seek(Int64, SeekOrigin)
Not implemented. Always returns 0;
SetLength(Int64)
Not implemented.
ToString()
Returns a String that represents the current Object.
Write(Byte[](), Int32, Int32)
Not implemented.
WriteByte(Byte)
Writes a byte to the current position in the stream and advances the position within the stream by one byte.

Properties

IconTypeDescription
CanRead
Always true
CanSeek
Always false
CanTimeout
Gets a value that determines whether the current stream can time out.
CanWrite
Always false
Length
Length of the stream
Position
Current position in the stream.
ReadTimeout
Gets or sets a value that determines how long the stream will attempt to read before timing out.
WriteTimeout
Gets or sets a value that determines how long the stream will attempt to write before timing out.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.IO.Stream
      Microsoft.WebSolutionsPlatform.Event.PrefixStream