Devesprit.Scripter

NamedPipeClient<(Of <(<'TReadWrite>)>)> Members

The NamedPipeClient<(Of <(<'TReadWrite>)>)> type exposes the following members.

Constructors


  Name Description
Public method NamedPipeClient<(Of <(<'TReadWrite>)>)>
Constructs a new NamedPipeClient to connect to the [NamedPipeNamedPipeServer{TReadWrite}] specified by pipeName.

Methods


  Name Description
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 PushMessage
Sends a message to the server over a named pipe.
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)
Public method Start
Connects to the named pipe server asynchronously. This method returns immediately, possibly before the connection has been established.
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)
Public method Stop
Closes the named pipe.
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method WaitForConnection()()()() (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)
Public method WaitForConnection(Int32) (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)
Public method WaitForConnection(TimeSpan) (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)
Public method WaitForDisconnection()()()() (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)
Public method WaitForDisconnection(Int32) (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)
Public method WaitForDisconnection(TimeSpan) (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)

Properties


  Name Description
Public property AutoReconnect
Gets or sets whether the client should attempt to reconnect when the pipe breaks due to an error or the other end terminating the connection. Default value is true.
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)

Events


  Name Description
Public event Disconnected
Invoked when the client disconnects from the server (e.g., the pipe is closed or broken).
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)
Public event Error
Invoked whenever an exception is thrown during a read or write operation on the named pipe.
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)
Public event ServerMessage
Invoked whenever a message is received from the server.
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.)