NamedPipeConnection<(Of <(<'TRead, TWrite>)>)> Members

The NamedPipeConnection<(Of <(<'TRead, TWrite>)>)> type exposes the following members.


  Name Description
Public method Close
Closes the named pipe connection and underlying PipeStream.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Open
Begins reading from and writing to the named pipe on a background thread. This method returns immediately.
Public method PushMessage
Adds the specified message to the write queue. The message will be written to the named pipe by the background thread at the next available opportunity.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)


  Name Description
Public field Id
Gets the connection's unique identifier.


  Name Description
Public property IsConnected
Gets a value indicating whether the pipe is connected or not.
Public property Name
Gets the connection's name.


  Name Description
Public event Disconnected
Invoked when the named pipe connection terminates.
Public event Error
Invoked when an exception is thrown during any read/write operation over the named pipe.
Public event ReceiveMessage
Invoked whenever a message is received from the other end of the pipe.