NamedPipeClient<(Of <(<'TReadWrite>)>)> Members
The NamedPipeClient<(Of <(<'TReadWrite>)>)> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
NamedPipeClient<(Of <(<'TReadWrite>)>)> |
Constructs a new NamedPipeClient to connect to the [NamedPipeNamedPipeServer{TReadWrite}] specified by pipeName.
|
Methods
Name | Description | |
---|---|---|
![]() |
Equals(System.Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode |
Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
PushMessage |
Sends a message to the server over a named pipe.
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.) |
![]() |
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>)>)>.) |
![]() |
Stop |
Closes the named pipe.
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.) |
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
![]() |
WaitForConnection()()()() | (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.) |
![]() |
WaitForConnection(Int32) | (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.) |
![]() |
WaitForConnection(TimeSpan) | (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.) |
![]() |
WaitForDisconnection()()()() | (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.) |
![]() |
WaitForDisconnection(Int32) | (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.) |
![]() |
WaitForDisconnection(TimeSpan) | (Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.) |
Properties
Name | Description | |
---|---|---|
![]() |
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 | |
---|---|---|
![]() |
Disconnected |
Invoked when the client disconnects from the server (e.g., the pipe is closed or broken).
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.) |
![]() |
Error |
Invoked whenever an exception is thrown during a read or write operation on the named pipe.
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.) |
![]() |
ServerMessage |
Invoked whenever a message is received from the server.
(Inherited from NamedPipeClient<(Of <(<'TRead, TWrite>)>)>.) |