Partager via


ResourceStream Members

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

Provides a generic view of a sequence of bytes from a Management Pack resource.

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

Public Constructors

  Name Description
  ResourceStream Overloaded. Initializes a new instance of the ResourceStream class.

Top

Protected Fields

  Name Description
protected field bufferedMode  true if the stream is in buffered mode; otherwise, false. (inherited from BinaryStream)
protected field data  An array of stream data. (inherited from BinaryStream)
protected field lockObject The locking object. (inherited from BinaryStream)
protected field streamId The unique identifier of the stream. (inherited from BinaryStream)
protected field streamLength The size of the stream. (inherited from BinaryStream)
protected field streamPosition  The current position within the stream. (inherited from BinaryStream)

Top

Public Properties

  Name Description
public property CanRead  Overridden. Gets a value that indicates whether the stream supports reading. (inherited from Stream)
public property CanSeek  Overridden. Gets a value that indicates whether the stream supports seeking. (inherited from Stream)
public property CanTimeout  (inherited from Stream)
public property CanWrite  Overridden. Gets a value that indicates whether the stream supports writing. (inherited from Stream)
public property Id  Gets the unique identifier of the stream. (inherited from BinaryStream)
public property Length Overridden. Gets the length of the stream in bytes.
public property Position Overridden. Gets or sets the current position in the stream.
public property ReadTimeout  (inherited from Stream)
public property WriteTimeout  (inherited from Stream)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method BeginRead  (inherited from Stream)
public method BeginWrite  (inherited from Stream)
public method Close  Overridden. When overridden in a derived class, closes the current stream, disposing of the underlying resources. (inherited from Stream)
public method CreateObjRef  (inherited from MarshalByRefObject)
public method Dispose  (inherited from Stream)
public method EndRead  (inherited from Stream)
public method EndWrite  (inherited from Stream)
public method Equals  (inherited from Object)
public method Flush  Overridden. When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device. (inherited from Stream)
public method GetHashCode  (inherited from Object)
public method GetLifetimeService  (inherited from MarshalByRefObject)
public method GetType  (inherited from Object)
public method InitializeLifetimeService  (inherited from MarshalByRefObject)
public method Read Overridden. Reads a sequence of bytes from the current stream and advances the position in the stream by the number of bytes read.
public method ReadByte  (inherited from Stream)
public method Seek Overridden. Sets the position in the current stream.
public method SetLength  Overridden. When overridden in a derived class, sets the length of the current stream. (inherited from Stream)
public method ToString  (inherited from Object)
public method Write  Overridden. When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (inherited from Stream)
public method WriteByte  (inherited from Stream)

Top

Protected Methods

  Name Description
protected method CreateWaitHandle  Obsolete.  (inherited from Stream)
protected method Dispose  (inherited from Stream)
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from MarshalByRefObject)
protected method MemberwiseClone  (inherited from Object)

Top

See Also

Reference

ResourceStream Class
Microsoft.EnterpriseManagement.Common Namespace