The GeneralStream type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
| Name | Description | |
|---|---|---|
Begins an asynchronous read operation. (Inherited from | ||
Begins an asynchronous write operation. (Inherited from | ||
| Close |
Closes stream.
(Overrides | |
Reads the bytes from the current stream and writes them to the destination stream. (Inherited from | ||
Reads all the bytes from the current stream and writes them to a destination stream, using a specified buffer size. (Inherited from | ||
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from | ||
| Obsolete. Allocates a (Inherited from | ||
Releases all resources used by the (Inherited from | ||
Releases the unmanaged resources used by the (Inherited from | ||
Waits for the pending asynchronous read to complete. (Inherited from | ||
Ends an asynchronous write operation. (Inherited from | ||
| (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
| Flush |
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Overrides | |
Serves as a hash function for a particular type. (Inherited from | ||
Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from | ||
Gets the (Inherited from | ||
Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
Creates a shallow copy of the current (Inherited from | ||
| New |
Initializes new instance of system stream object.
| |
Provides support for a Contract. (Inherited from | ||
| Read |
Reads from stream.
(Overrides | |
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. (Inherited from | ||
| Seek |
Sets the position within the current stream to the specified value.
(Overrides | |
| SetLength |
Sets length to stream.
(Overrides | |
Returns a string that represents the current object. (Inherited from | ||
| Write |
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Overrides | |
| WriteByte |
Writes byte to stream.
(Overrides |
Extension Methods
| Name | Description | |
|---|---|---|
| AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
| GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
| ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
| ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Properties
| Name | Description | |
|---|---|---|
| CanRead |
Whether stream can read from underlying source.
(Overrides | |
| CanSeek |
Whether stream can seek on underlying source.
(Overrides | |
Gets a value that determines whether the current stream can time out. (Inherited from | ||
| CanWrite |
Whether stream can write to underlying source.
(Overrides | |
| Length |
Gets the length in bytes of the stream.
(Overrides | |
| Position |
Gets or sets the position within the current stream.
(Overrides | |
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from | ||
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from |
See Also