Brecham.Obex — An OBEX library for the .NET Framework

AbortableStream Methods

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

Public Instance Methods

AbortOverloaded. Abort the operation, doing whatever is necessary to signal this to the peer.
BeginRead (inherited from Stream)Begins an asynchronous read operation.
BeginWrite (inherited from Stream)Begins an asynchronous write operation.
Close (inherited from Stream)Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Stream)Releases all resources used by the Stream.
EndRead (inherited from Stream)Waits for the pending asynchronous read to complete.
EndWrite (inherited from Stream)Ends an asynchronous write operation.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Flush (inherited from Stream)When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device.
GetHashCode (inherited from Object)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 (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 (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Read (inherited from Stream)When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
ReadByte (inherited from Stream)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 Sets the current position of the stream to the given value. This method is not currently supported and always throws a NotSupportedException.
SetLength Overridden. Sets the current position of the stream to the given value. This method is not currently supported and always throws a NotSupportedException.
ToString (inherited from Object)Returns a String that represents the current Object.
Write (inherited from Stream)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.
WriteByte (inherited from Stream)Writes a byte to the current position in the stream and advances the position within the stream by one byte.

See Also

AbortableStream Class | Brecham.Obex Namespace